-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deprecate readcsv and writecsv? #23414
Comments
I do find it very convenient for quickly reading data in a REPL. |
I think the problem with the names |
The argument against doing this is that the existing package, CSV.jl, introduces 14 additional depedencies (direct and indirect). This would be a big problem for those of us seeking to keep our pacakges "light". |
My preferred solution for that is to keep a lightweight readdlm in the "standard library", and also lighten the dependencies of CSV.jl via the ongoing refactoring of DataFrames. |
@JeffBezanson - is it your idea to keep |
Maybe, but I do think there are other issues. For instance, for heterogeneous data it should return a set of column vectors instead of a 2d array, or perhaps not support heterogeneous data. Do you actually want it to keep returning |
@sbromberger Note also that if you play along with the iterable tables interface from TableTraits.jl you automatically get integration with CSVFiles.jl (and ExcelFiles.jl, FeatherFiles.jl, StatFiles.jl and soon ParquetFiles.jl]) without taking any dependency on those packages. You will still pull in some small packages, but a lot less than via CSV.jl. Happy to help with any integration work or explain this (probably better in an issue over your package world), just ping me! |
These functions are already just 1-line aliases, so they're easy to deprecate. Has been discussed before, e.g. in JuliaData/DelimitedFiles.jl#13.
I would also favor removing some features from readdlm --- for example it could support only reading 2-d arrays of numbers of a specified type. But this is a slightly separate issue.
The text was updated successfully, but these errors were encountered: