forked from pandas-dev/pandas
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: Behaviour change in 1.5.0 when using Timedelta as Enum data type (…
…pandas-dev#49579) * Add cls argument to _timedelta_from_value_and_reso * Add test * Add fix to changelog Co-authored-by: krasch <dev@krasch.io> (cherry picked from commit 606499d) # Conflicts: # pandas/_libs/tslibs/timedeltas.pyx # pandas/tests/scalar/timedelta/test_constructors.py
- Loading branch information
Showing
3 changed files
with
22 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters