-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
read_csv python engine errors #10476
Comments
|
Changing title, because the apparent same error happens in Py2.7: $ python reduction.py ~/data/planet4/2015-06-21_planet_four_classifications.csv
INFO:Starting reduction.
Traceback (most recent call last):
File "reduction.py", line 258, in <module>
args.test_n_rows, args.remove_duplicates)
File "reduction.py", line 182, in main
data = [chunk for chunk in reader]
File "/Users/klay6683/miniconda3/envs/py27/lib/python2.7/site-packages/pandas/io/parsers.py", line 686, in __iter__
yield self.read(self.chunksize)
File "/Users/klay6683/miniconda3/envs/py27/lib/python2.7/site-packages/pandas/io/parsers.py", line 710, in read
ret = self._engine.read(nrows)
File "/Users/klay6683/miniconda3/envs/py27/lib/python2.7/site-packages/pandas/io/parsers.py", line 1534, in read
content = self._get_lines(rows)
File "/Users/klay6683/miniconda3/envs/py27/lib/python2.7/site-packages/pandas/io/parsers.py", line 1985, in _get_lines
for _ in range(rows):
TypeError: integer argument expected, got float
(py27) |
michaelaye
changed the title
read_csv python engine errors with Python 3
read_csv Jun 30, 2015
python
engine errors
|
ok, will mark as a bug. should be easy test/fix. want to do a PR? |
22 tasks
gfyoung
added a commit
to forking-repos/pandas
that referenced
this issue
May 25, 2016
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Only thing I changed from my usually working reduction pipeline is to try
engine="python"
(because I wanted to usenrows
for a smaller test-read, but that fails as well, and I thought maybe the python engine is buggy currently):My function call is this:
Using pandas-0.16.2_58_g01995b2-py3.4
The text was updated successfully, but these errors were encountered: