Skip to content

Commit 019e155

Browse files
elahesharifihedeershowk
authored andcommitted
DOC: remove duplicated sentence in return secion of pandas.DataFrame.agg /asof docstrings (pandas-dev#55165)
1 parent 8f25bee commit 019e155

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

pandas/core/generic.py

-2
Original file line numberDiff line numberDiff line change
@@ -8323,8 +8323,6 @@ def asof(self, where, subset=None):
83238323
* DataFrame : when `self` is a DataFrame and `where` is an
83248324
array-like
83258325
8326-
Return scalar, Series, or DataFrame.
8327-
83288326
See Also
83298327
--------
83308328
merge_asof : Perform an asof merge. Similar to left join.

pandas/core/shared_docs.py

-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434
* scalar : when Series.agg is called with single function
3535
* Series : when DataFrame.agg is called with a single function
3636
* DataFrame : when DataFrame.agg is called with several functions
37-
38-
Return scalar, Series or DataFrame.
3937
{see_also}
4038
Notes
4139
-----

0 commit comments

Comments
 (0)