-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ENH: Add usecols option to python parser. #5211
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
ENH: Add usecols option to python parser. #5211
Conversation
pls also add a release notes entry and update io.rst docs (e.g. the default for the header is now slightly different as you changed in the doc string?) |
for py3, use |
I added release notes. @jreback do we have to update the io.rst docs manually or is that generated? FWIW my docstring update reflects pre-existing behaviour. I just made it explicit. |
@guyrt you can edit io.rst (or any other doc file) just like code....edit and it will be included in the commit |
can you rebase and squash? |
- DataFrame has a new ``interpolate`` method, similar to Series (:issue:`4434`, :issue:`1892`) | ||
|
||
|
||
- ``tz_localize`` can infer a fall daylight savings transition based on the structure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where did these come from? (aside from this issue reference)
Looks like I goofed on the rebase. edit: fixed |
Closes pandas-dev#4335 Added release note and fixed py3 compat Updated docs for consistency
merge this? (as its separate from #5156) ? |
This one is ready to merge. #5156 will be a separate PR |
ENH: Add usecols option to python parser.
- Added PySide support for the qtpandas DataFrameModel and DataFrameWidget. | ||
|
||
- Python csv parser now supports usecols (:issue:`4335`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you throw this into release notes as well (on your next PR)? thanks
Closes #4335
This ticket felt a little bit like whack-a-mole.
The key is that names can have two meanings: if it matches length of usecols then it is the name to apply to the (numeric) usecols. If it matches the length of the original columns, it is the set of column names and string values in usecols refer to it.