-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
Error ReportingIncorrect or improved errors from pandasIncorrect or improved errors from pandasIO CSVread_csv, to_csvread_csv, to_csv
Milestone
Description
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:
- Either put into docs that they are not to be used concurrently
- or it's a feature request that they can.
I would find it useful to get chunks of x size, but only for the first n row of a huge file.
myidealab
Metadata
Metadata
Assignees
Labels
Error ReportingIncorrect or improved errors from pandasIncorrect or improved errors from pandasIO CSVread_csv, to_csvread_csv, to_csv