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

BUG: Timestamp.unit now reflects changes in components after Timestamp.replace #58121

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

diogomsmiranda
Copy link

@diogomsmiranda diogomsmiranda commented Apr 2, 2024

The logic behind this is having the Timestamp.unit set as the most precise unit changed on Timestamp.replace if one is more precise than the previous set.

@mroeschke mroeschke added Non-Nano datetime64/timedelta64 with non-nanosecond resolution Timestamp pd.Timestamp and associated methods labels Apr 3, 2024
@diogomsmiranda diogomsmiranda force-pushed the reflect-changes-in-components branch 4 times, most recently from c3a4ebf to 5a62136 Compare April 7, 2024 22:20
@diogomsmiranda
Copy link
Author

Hey, I've made the requested changes.

cc @jbrockmendel

@diogomsmiranda
Copy link
Author

diogomsmiranda commented May 10, 2024

@jbrockmendel @mroeschke Hey!! Sorry for the ping but it's been a while since I last heard from you, is this change still of interest?

Let me know If you need anything from me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Non-Nano datetime64/timedelta64 with non-nanosecond resolution Timestamp pd.Timestamp and associated methods
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Timestamp.unit should reflect changes in components after Timestamp.replace
3 participants