Closed
Description
This is just a minor typo in the documentation explaining how to use the usecols parameter.
usecols : int or sequence, optional
Which columns to read, with 0 being the first. For example,
usecols = (1,4,5) will extract the 2nd, 5th and 6th columns.
The default, None, results in all columns being read.
.. versionadded:: 1.11.0
Also when a single column has to be read it is possible to use
an integer instead of a tuple. E.gusecols = 3
reads the
third column the same way as `usecols = (3,)`` would.
I believe
E.g
usecols = 3
reads the
third column the same way as `usecols = (3,)`` would.
should read
E.g
usecols = 3
reads the
fourth column the same way as `usecols = (3,)`` would.
Metadata
Metadata
Assignees
Labels
No labels