diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 5c303e2a73bd7..bbaa6d3faeb05 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -8323,8 +8323,6 @@ def asof(self, where, subset=None): * DataFrame : when `self` is a DataFrame and `where` is an array-like - Return scalar, Series, or DataFrame. - See Also -------- merge_asof : Perform an asof merge. Similar to left join. diff --git a/pandas/core/shared_docs.py b/pandas/core/shared_docs.py index 9da103e13f691..ec219941a3afc 100644 --- a/pandas/core/shared_docs.py +++ b/pandas/core/shared_docs.py @@ -34,8 +34,6 @@ * scalar : when Series.agg is called with single function * Series : when DataFrame.agg is called with a single function * DataFrame : when DataFrame.agg is called with several functions - - Return scalar, Series or DataFrame. {see_also} Notes -----