Skip to content

Conversation

@gaogaotiantian
Copy link
Contributor

What changes were proposed in this pull request?

Add a restore method for timedelta. This is a similar change as #54017

Why are the changes needed?

Same as datetime - pandas 3 now has smart unit for timedelta and we should try to restore it.

Does this PR introduce any user-facing change?

Just more like pandas 3 when pandas 3 is used.

How was this patch tested?

Locally a test passed with the fix.

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions
Copy link

JIRA Issue Information

=== Sub-task SPARK-55297 ===
Summary: Restore unit for timedelta dtype
Assignee: None
Status: Open
Affected: ["4.2.0"]


This comment was automatically generated by GitHub Actions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant