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
encoding/csv: need more functionalities in package #33237
Comments
I agree on this proposal. |
The What speaks against providing this functionality in a third party package? I've worked with many different CSV files in the last few years, but never needed any of the features you listed except the first one (which can be easily solved with a simple Also you say that CSV always has column names. This is wrong. Though relatively rare, there are still many CSV files without column names (often these names are just not in the CSV file but are always the same, so they will be hardcoded in the application). Now even if there are good reasons for having this in the stdlib the new functionality could still be implemented outside the stdlib first and then later adopted into the stdlib (or one of the Also please try to give examples (e.g. function signatures, types, ...) instead of just listing ideas for features. |
/cc @dsnet |
The
While I can see such filter operations being useful, I don't see why
This functionality seems like it should be explored outside the standard library. |
We can introduce this functionality in
I agree with this. This functionality can be implemented on any data structure like JSON. |
The csv package has very basic functionalities like Read(): reads single record, ReadAll() read all records etc.
Since csv always has list of column names. All records are always corresponding to column names.
Proposal
There should be some functionalities related to Columns(not expecting big as Pandas) so it will be easier to process csv files using built-in package itself.
etc.
The text was updated successfully, but these errors were encountered: