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

Handling leading whitespace with delim_whitespace #3374

Closed
wesm opened this issue Apr 16, 2013 · 1 comment · Fixed by #6889
Closed

Handling leading whitespace with delim_whitespace #3374

wesm opened this issue Apr 16, 2013 · 1 comment · Fixed by #6889
Labels
API Design IO CSV read_csv, to_csv IO Data IO issues that don't fit into a more specific label Usage Question
Milestone

Comments

@wesm
Copy link
Member

wesm commented Apr 16, 2013

http://stackoverflow.com/questions/16022094/using-pandas-to-read-text-file-with-leading-whitespace-gives-a-nan-column

@jreback
Copy link
Contributor

jreback commented Feb 15, 2014

maybe let's just make delim_whitespace just make sep='\s+' (and raise if sep is also defined?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Design IO CSV read_csv, to_csv IO Data IO issues that don't fit into a more specific label Usage Question
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants