Skip to content

Conversation

@R-Palazzo
Copy link
Contributor

Resolve #2682
CU-86b6wkybp

@R-Palazzo R-Palazzo self-assigned this Oct 6, 2025
@R-Palazzo R-Palazzo requested a review from a team as a code owner October 6, 2025 15:02
@sdv-team
Copy link
Contributor

sdv-team commented Oct 6, 2025

@R-Palazzo R-Palazzo removed the request for review from a team October 6, 2025 15:02
if _is_datetime_type(sequence_index[self._sequence_index]):
sequence_index[self._sequence_index] = cast_to_datetime64(
sequence_index[self._sequence_index]
).astype(np.int64)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Before pandas 2.2, datetime columns stored as object dtypes were silently converted to float dtype. To be consistent with the fill_value used in L330 or L332, the column has to be numerical.

Let me know if this makes sense

@codecov
Copy link

codecov bot commented Oct 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.18%. Comparing base (8222039) to head (d1019d4).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2707   +/-   ##
=======================================
  Coverage   98.18%   98.18%           
=======================================
  Files          74       74           
  Lines        7775     7781    +6     
=======================================
+ Hits         7634     7640    +6     
  Misses        141      141           
Flag Coverage Δ
integration 76.19% <90.00%> (-0.06%) ⬇️
unit 97.00% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@R-Palazzo R-Palazzo force-pushed the issue-2682-pandas-warning branch 2 times, most recently from c2e8215 to 2f2f8bc Compare October 16, 2025 12:33
@R-Palazzo R-Palazzo force-pushed the issue-2682-pandas-warning branch from 2f2f8bc to d1019d4 Compare October 16, 2025 12:52
@R-Palazzo R-Palazzo merged commit 0983c8a into main Oct 16, 2025
47 checks passed
@R-Palazzo R-Palazzo deleted the issue-2682-pandas-warning branch October 16, 2025 14:35
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.

PARSynthesizer: FutureWarnings in groupby.apply and Series.__getitem__ from pandas

5 participants