Skip to content

Instantly share code, notes, and snippets.

@marty1885
Created October 23, 2018 04:22
Show Gist options
  • Save marty1885/e9d162e0dcbec6e5e6c5001ec379616d to your computer and use it in GitHub Desktop.
Save marty1885/e9d162e0dcbec6e5e6c5001ec379616d 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