A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/6774 below:

chunksize clashes with nrows · Issue #6774 · pandas-dev/pandas · GitHub

If nrows are determined, the use of chunksize option does not create a TextFileReader object.

reader = pd.read_table(fname, sep=',',chunksize=4, na_values=['null'],
                       nrows=20)
type(reader)
pandas.core.frame.DataFrame

My suggestion:

I would find it useful to get chunks of x size, but only for the first n row of a huge file.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4