Skip to content

ENH: let date_format take a mapping of columns to formats #51240

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

Closed
1 of 3 tasks
MarcoGorelli opened this issue Feb 8, 2023 · 0 comments · Fixed by #51418
Closed
1 of 3 tasks

ENH: let date_format take a mapping of columns to formats #51240

MarcoGorelli opened this issue Feb 8, 2023 · 0 comments · Fixed by #51418
Labels
Enhancement IO CSV read_csv, to_csv IO Excel read_excel, to_excel

Comments

@MarcoGorelli
Copy link
Member

Feature Type

  • Adding new functionality to pandas

  • Changing existing functionality in pandas

  • Removing existing functionality in pandas

Problem Description

follow-up to #51019

Feature Description

date_format should accept either a single format, or a mapping from column names to formats

Alternative Solutions

Just keep as-is. But this has been requested by a few people in #51019, and would be consistent with some other IO arguments

Additional Context

No response

@MarcoGorelli MarcoGorelli added Enhancement Needs Triage Issue that has not been reviewed by a pandas team member labels Feb 8, 2023
@phofl phofl added IO CSV read_csv, to_csv IO Excel read_excel, to_excel and removed Needs Triage Issue that has not been reviewed by a pandas team member labels Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement IO CSV read_csv, to_csv IO Excel read_excel, to_excel
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants