Skip to content
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

No support sep paramter #68

Open
h1542462994 opened this issue Oct 27, 2023 · 0 comments
Open

No support sep paramter #68

h1542462994 opened this issue Oct 27, 2023 · 0 comments

Comments

@h1542462994
Copy link

h1542462994 commented Oct 27, 2023

Csv has an optional parameter at the header line.

For example

"sep=;"
a;b;
1;2;
3;4;

It is a csv which represents:

a b
1 2
3 4

But when i use the csv to parse it, i fould the result list which contain the first line "sep=;", and also the empty column will be included.

The result list will be:

list[0]=["sep=;"]
list[1]=["a","b",""]
list[2]=[1,2,""]
list[3]=[3,4,""]

Is there are any optional parameter to assign the sep parameter? I current use csv which version number is '5.0.2'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant