#include <algorithm>
#include <chrono>
#include <fstream>
#include <iostream>
#include <openGPMP/core/datatable.hpp>
#include <regex>
#include <sstream>
#include <string>
#include <typeinfo>
#include <vector>
Go to the source code of this file.
◆ main()
Definition at line 12 of file tables.cpp.
17 std::chrono::steady_clock::time_point start_time =
18 std::chrono::steady_clock::now();
28 std::chrono::steady_clock::time_point end_time =
29 std::chrono::steady_clock::now();
31 std::cout <<
"\nTime elapsed: "
32 << std::chrono::duration_cast<std::chrono::milliseconds>(
33 end_time - start_time)
35 <<
" ms" << std::endl;
DataTableStr csv_read(std::string filename, std::vector< std::string > columns={})
Reads a CSV file and returns a DataTableStr parses CSV files and stores all data as strings.
void display(std::pair< std::vector< T >, std::vector< std::vector< T >>> data, bool display_all=false)
Sort a DataTable based on a specified column.
std::pair< std::vector< std::string >, std::vector< std::vector< std::string > > > DataTableStr
References gpmp::core::DataTable::csv_read(), and gpmp::core::DataTable::display().