Skip to content

Commit 058fcab

Browse files
author
aokizy
committed
CLN:Inline docstrings in pandas/core/window/resample.py
1 parent c5379b3 commit 058fcab

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

pandas/core/resample.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@
109109
Series,
110110
)
111111

112+
from pandas.core.generic import NDFrame
113+
112114
_shared_docs_kwargs: dict[str, str] = {}
113115

114116

@@ -1856,7 +1858,8 @@ def size(self):
18561858
See Also
18571859
--------
18581860
Series.groupby : Apply a function groupby to a Series.
1859-
DataFrame.groupby : Apply a function groupby to each row or column of a DataFrame.
1861+
DataFrame.groupby : Apply a function groupby to each row
1862+
or column of a DataFrame.
18601863
18611864
Examples
18621865
--------
@@ -1904,7 +1907,8 @@ def count(self):
19041907
See Also
19051908
--------
19061909
Series.groupby : Apply a function groupby to a Series.
1907-
DataFrame.groupby : Apply a function groupby to each row or column of a DataFrame.
1910+
DataFrame.groupby : Apply a function groupby to each row
1911+
or column of a DataFrame.
19081912
19091913
Examples
19101914
--------
@@ -3184,4 +3188,4 @@ def _asfreq_compat(index: FreqIndexT, freq) -> FreqIndexT:
31843188
new_index = TimedeltaIndex([], dtype=index.dtype, freq=freq, name=index.name)
31853189
else: # pragma: no cover
31863190
raise TypeError(type(index))
3187-
return new_index
3191+
return new_index

0 commit comments

Comments
 (0)