Skip to content
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

Add AM/PM options for parse_dates #5365

Closed
braaannigan opened this issue Oct 28, 2022 · 2 comments
Closed

Add AM/PM options for parse_dates #5365

braaannigan opened this issue Oct 28, 2022 · 2 comments
Labels
enhancement New feature or an improvement of an existing feature

Comments

@braaannigan
Copy link
Collaborator

Problem description

It would be good if Polars could automatically parse datetimes from a CSV like

9/03/2043 12:35 AM

with

%d/%m/%Y %I:%M %p

as these are fairly common.

@braaannigan braaannigan added the enhancement New feature or an improvement of an existing feature label Oct 28, 2022
@RandomFractals
Copy link

RandomFractals commented Oct 28, 2022

Related issue in Arrow repo: apache/arrow#13111

@braaannigan thanks for opening this request.

@RandomFractals
Copy link

Wow, that was fast and all you had to do was add new data parsing patterns? Nice.

Thank @YuRiTan & @ritchie46 for looking into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or an improvement of an existing feature
Projects
None yet
Development

No branches or pull requests

3 participants