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

Fix handling of datetime dtypes #661

Merged
merged 5 commits into from
Jun 29, 2023
Merged

Conversation

frances-h
Copy link
Contributor

Resolve #657

@frances-h frances-h marked this pull request as ready for review June 27, 2023 15:13
@frances-h frances-h requested a review from a team as a code owner June 27, 2023 15:13
@frances-h frances-h requested review from amontanez24 and fealho and removed request for a team June 27, 2023 15:13
Copy link
Contributor

@amontanez24 amontanez24 left a comment

Choose a reason for hiding this comment

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

Just a minor comment and question but looks good! 🚢 🇮🇹

rdt/transformers/datetime.py Show resolved Hide resolved
Comment on lines 447 to 448
if 'windows' not in platform.system().lower():
pd.testing.assert_series_equal(output, expected)
Copy link
Contributor

Choose a reason for hiding this comment

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

I see we do this elsewhere but do you know why we skip for windows?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure. I can't test locally since I don't have a windows machine, but I can try removing it and seeing what happens to the job

@codecov-commenter
Copy link

codecov-commenter commented Jun 28, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (b2207c0) 100.00% compared to head (07c31f9) 100.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #661   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           17        17           
  Lines         1639      1641    +2     
=========================================
+ Hits          1639      1641    +2     
Impacted Files Coverage Δ
rdt/transformers/datetime.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@frances-h frances-h self-assigned this Jun 29, 2023
@frances-h frances-h merged commit cea4a9d into master Jun 29, 2023
46 checks passed
@frances-h frances-h deleted the issue-657-datetime-dtypes branch June 29, 2023 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The datetime transformers don't give me back the same dtype sometimes
4 participants