ENH: add an option to read_csv to select a specific rows / sample of the csv file #3132
Labels
Enhancement
Ideas
Long-Term Enhancement Discussions
IO CSV
read_csv, to_csv
IO Data
IO issues that don't fit into a more specific label
Uh oh!
There was an error while loading. Please reload this page.
propose an option,
sample
orkeeprows
(#14285)maybe taking a callable, for really just something like
sample=10
to return you every 10th row
if it takes a callbale couuld use something like:
lambda x: x % 10
easy way to get a
sample
of the csv fileuseful to avoid specifying
skiprows
with a big listand to solve an issue like this:
http://stackoverflow.com/questions/15555005/get-inferred-dataframe-types-iteratively-using-chunksize
The text was updated successfully, but these errors were encountered: