Open wolfv opened 6 years ago
I was confused by the interface, it takes some time to figure it out. It would be nice to be consistent and have documentation/examples.
Thanks @jingpengw let us know if you feel like giving it a stab!
Yes, this is quite annoying when transferring from numpy to xtensor. Is there any plan for this issue?
Currently,
load_csv
takes aistream
andload_npy
takes astd::string
for the filename. Note that the methods inxtensor-io
also take a string filename.We should homogenize the interfaces so that:
load_*
anddump_*
takes a filenameloads_*
anddumps_*
take a stream ? -- to be discussedWe should take this into considerat