Skip to content

Instantly share code, notes, and snippets.

@marty1885
Created October 23, 2018 04:22
Show Gist options
  • Save marty1885/0cb9b312696c44724159fd4d57f29086 to your computer and use it in GitHub Desktop.
Save marty1885/0cb9b312696c44724159fd4d57f29086 to your computer and use it in GitHub Desktop.
xt::xarray<float> loadCSV(std::string path)
{
std::ifstream in(path);
xt::xarray<float> dataset = xt::load_csv<float>(in);
return dataset;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment