Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
ERR: read_csv with dtype specified on empty data #12048
Comments
|
This is equivalent to this. So this doesn't have any data, so the dtype converter should handle this properly.
So an even simpler repro is this.
care to do a pull-request to fix? |
jreback
added Error Reporting CSV
labels
Jan 15, 2016
jreback
added this to the
Next Major Release
milestone
Jan 15, 2016
jreback
added Difficulty Novice Effort Low
labels
Jan 15, 2016
jreback
changed the title from
read_csv fails when skiprows and dtype are specified to ERR: read_csv with dtype specified on empty data
Jan 15, 2016
Sereger13
commented
Jan 18, 2016
|
Prepared the fix locally but getting this error when trying to send pull-request: |
|
see contributing docs here you need to fork, then push to your branch and open a PR. you are trying to push to master |
Sereger13
pushed a commit
to Sereger13/pandas
that referenced
this issue
Jan 21, 2016
|
|
a8744ce
|
Sereger13
referenced
this issue
Jan 21, 2016
Closed
ERR: read_csv with dtype on empty data, #12048. #12110
jreback
modified the milestone: 0.18.0, Next Major Release
Jan 21, 2016
jreback
closed this
in ab3291d
Jan 24, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sereger13 commentedJan 15, 2016
File has this content:
When I do
pd.read_csv(filepath)- all looks fine, however if I specify skiprows and dtype parameters it fails with the following error:INSTALLED VERSIONS
commit: None
python: 2.7.10.final.0
python-bits: 64
OS: Linux
OS-release: 2.6.18-238.9.1.el5
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US
pandas: 0.17.1