-
-
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
TextFileReader.get_chunk returns full file DataFram despite of chunksize specified in read_csv #3406
Comments
can you show exactly what you are doing? you need to specify the number of rows that you want in http://pandas.pydata.org/pandas-docs/dev/io.html#iterating-through-files-chunk-by-chunk |
read_csv method called with some specific chunk size.
P.S. So I can call my_text_file_reader.get_chunk(my_text_file_reader.chunksize), but this is ugly and not object oriented. |
@wes this is expected behavior yes? |
Calling it a bug. Fixed, thanks |
Version 0.11 * tag 'v0.11.0': (75 commits) RLS: Version 0.11 BUG: respect passed chunksize in read_csv when using get_chunk function. close pandas-dev#3406 DOC: Adding parameters to frequencies, offsets (issue pandas-dev#2916) BUG: fix broken validators again Revert "BUG: config.is_one_of_factory is broken" DOC: minor indexing.rst doc updates BUG: config.is_one_of_factory is broken TST: add test for config.is_one_of_factory DOC: RELEASE.rst mention new options disp.height/width and deprecated line_width BUG: fix validators for config options ENH: default dimensions for ip zmq frontends derive from disp.height/width defaults ENH: let display.notebook_repr_html control HTML repr in qtconsole again. ENH: fix df.repr() for scripts (keep GH1611 away), accept None for max_cols/rows BUG: rework get_console_size to handle cases properly ENH: optimize _repr_fits_horizontal_, to_string only on slice of interest BUG: for numerical option, sentry should be another Type, not 0 TST: fix test_repr_non_interactive passing by accident TST: adjust tests to accommodate new defaults for display options ENH: Adjust height/width/max_rows defaults to match informal survey results CLN: convert test utilizing disp.line_width to disp.width ...
TextFileReader.get_chunk returns full file DataFram despite of chunksize specified in read_csv.
The text was updated successfully, but these errors were encountered: