Skip to content

Commit 30d91e6

Browse files
committed
add 2 more TypeAlias
1 parent 9f556b3 commit 30d91e6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pandas/_typing.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,10 +419,12 @@ def closed(self) -> bool:
419419
NsmallestNlargestKeep: TypeAlias = Literal["first", "last", "all"]
420420

421421
# quantile interpolation
422-
QuantileInterpolation = Literal["linear", "lower", "higher", "midpoint", "nearest"]
422+
QuantileInterpolation: TypeAlias = Literal[
423+
"linear", "lower", "higher", "midpoint", "nearest"
424+
]
423425

424426
# plotting
425-
PlottingOrientation = Literal["horizontal", "vertical"]
427+
PlottingOrientation: TypeAlias = Literal["horizontal", "vertical"]
426428

427429
# dropna
428430
AnyAll: TypeAlias = Literal["any", "all"]

0 commit comments

Comments
 (0)