Skip to content

Commit fc0415e

Browse files
authored
DOC: bind Series.__invert__ to new docstring
1 parent c9fb49b commit fc0415e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pandas/core/series.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7338,3 +7338,7 @@ def cumsum(self, axis: Axis = 0, skipna: bool = True, *args, **kwargs) -> Self:
73387338
@doc(make_doc("cumprod", 1))
73397339
def cumprod(self, axis: Axis = 0, skipna: bool = True, *args, **kwargs) -> Self:
73407340
return NDFrame.cumprod(self, axis, skipna, *args, **kwargs)
7341+
7342+
# at bottom of pandas/core/series.py (after class Series ...)
7343+
from pandas.core.ops.docstrings import _doc_series_invert
7344+
Series.__invert__.__doc__ = _doc_series_invert

0 commit comments

Comments
 (0)