We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7705e4 commit b487bc9Copy full SHA for b487bc9
pandas-stubs/core/series.pyi
@@ -4002,7 +4002,7 @@ class Series(IndexOpsMixin[S1], NDFrame):
4002
) -> float: ...
4003
@overload
4004
def median(
4005
- self: Series[float],
+ self: Series[Never],
4006
axis: AxisIndex | None = 0,
4007
skipna: _bool = True,
4008
level: None = ...,
@@ -4018,6 +4018,15 @@ class Series(IndexOpsMixin[S1], NDFrame):
4018
numeric_only: _bool = False,
4019
**kwargs: Any,
4020
) -> Timestamp: ...
4021
+ @overload
4022
+ def median(
4023
+ self,
4024
+ axis: AxisIndex | None = 0,
4025
+ skipna: _bool = True,
4026
+ level: None = ...,
4027
+ numeric_only: _bool = False,
4028
+ **kwargs: Any,
4029
+ ) -> float: ...
4030
def min(
4031
self,
4032
0 commit comments