Skip to content

Commit d6a767c

Browse files
committed
BUG: add ’T’ to UnitChoices to fix incorrect unit validation in to_timedelta()
1 parent 1cae7a3 commit d6a767c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/_libs/tslibs/timedeltas.pyi

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ UnitChoices = Literal[
3838
"min",
3939
"minutes",
4040
"t",
41+
"T",
4142
"s",
4243
"seconds",
4344
"sec",

0 commit comments

Comments
 (0)