There was an error while loading. Please reload this page.
1 parent b760466 commit 052ac7bCopy full SHA for 052ac7b
pandas/_typing.py
@@ -34,7 +34,7 @@
34
35
PythonScalar = Union[str, int, float, bool]
36
DatetimeLikeScalar = TypeVar("DatetimeLikeScalar", "Period", "Timestamp", "Timedelta")
37
-PandasScalar = Union[DatetimeLikeScalar, "Interval"]
+PandasScalar = Union["Period", "Timestamp", "Timedelta", "Interval"]
38
Scalar = Union[PythonScalar, PandasScalar]
39
40
# other
0 commit comments