Suggest that loadtxt
supports reading CSV files of pure floating-point type, that is, add a argument delimiter
to savetxt
and loadtxt
interfaces.
#948
Labels
idea
Proposition of an idea and opening an issue to discuss it
Motivation
Numpy's
loadtxt
supports reading CSV files with pure floating-point values, throughdata = np.loadtxt('example.csv', delimiter=',')
. In Fortran's default data reading rules, data separated by commas or spaces is very natural. Theloadtxt
in stdlib supporting the argumentdelimiter=','
will be a practical function. This is when I use theloadtxt
in stdlib to read CSV files and find that only the first column of CSV data can be read.In this case,
savetxt
also needs to support thedelimiter
argument.Prior Art
numpy.loadtxt
;numpy.savetxt
.Additional Information
No response
The text was updated successfully, but these errors were encountered: