Skip to content

Conversation

@eicchen
Copy link
Contributor

@eicchen eicchen commented Jul 26, 2025

This is just the implementation for using usecols order for read_csv that I wanted to have people look at before moving to apply it to other places like read_excel and read_clipboard. If it all looks good, I'll go back and add all necessary documentation about future deprecation along with a popup when using usecols. This is mainly just for checking that the implementation doesn't have any glaring issues.

I ran the entire test suite just to be safe and it all looks good. The only thing the errored were some datetime tests that had nothing to do with the changes that I could find.

Oh it is also worth noting that pyarrow already uses the usecols order by default so that's probably worth adding to the documentation regardless

@eicchen eicchen changed the title Enh #61386 usecols ENH: usecols takes input order for read_csv implementation review Jul 26, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2025

This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this.

@github-actions github-actions bot added the Stale label Sep 5, 2025
@jbrockmendel
Copy link
Member

@eicchen can you merge main and address comments

@eicchen
Copy link
Contributor Author

eicchen commented Oct 16, 2025

Will do, have been buried in classwork but I'll have time TMR

@eicchen
Copy link
Contributor Author

eicchen commented Oct 21, 2025

Closing PR down while I implement the function for applicable reads

@eicchen eicchen closed this Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ENH: read_csv with usecols shouldn't change column order

3 participants