Skip to content

REF: stricter typing, better naming in parsing.pyx #50722

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

Merged
merged 3 commits into from
Jan 13, 2023

Conversation

jbrockmendel
Copy link
Member

Trying to move towards having fewer different string parsing paths.

@MarcoGorelli MarcoGorelli self-requested a review January 13, 2023 10:41
@mroeschke mroeschke added Datetime Datetime data dtype Typing type annotations, mypy/pyright type checking labels Jan 13, 2023
Copy link
Member

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, happy to see this being simplified!

@MarcoGorelli MarcoGorelli added this to the 2.0 milestone Jan 13, 2023
@mroeschke mroeschke merged commit 0e6f338 into pandas-dev:main Jan 13, 2023
@mroeschke
Copy link
Member

Thanks @jbrockmendel

@corneliusroemer
Copy link

Because I couldn't find it in the changelog (probably because it's supposed to be an internal function no one should have actually used):
This PR removed the parse_time_string function from pandas.core.tools.datetimes

We were using it in nextstrain/augur's parse to get information about the datetime resolution. Currently seeing how to migrate to pandas v2 given the removal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Datetime Datetime data dtype Typing type annotations, mypy/pyright type checking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants