-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
pandas.read_csv(..., skiprows=2, engine='c') with unix-style line breaks crashes python on windows #11020
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
Comments
works on master, might have been #5664 fixed in 0.16.1
|
if you'd like to add this as a test case, would take a PR in any event. |
Sorry, I'd like to contribute a test case (and in fact just wrote one), but I don't have the time to set up the build process right now, which seems to be necessary for running tests. So I can't check whether my test actually fails on the version I'm using. |
ok, contributing docs are here: http://pandas.pydata.org/pandas-docs/stable/contributing.html its actually quite easy with conda |
Hey, Could I take a shot at this? Does the test for this have to go into
Reading the file returns the columns with |
The following makes python crash ("Kernel died, restarting" in IPython) on my windows 7 machine:
Note the unix-style line breaks.
The test case seems to be pretty precise, since changing about anything leads to working code. I tried, e.g.,
skiprows
parameterand everything worked.
Here is the output of
pandas.show_versions()
:The text was updated successfully, but these errors were encountered: