From 2e9c615bb6b6c32145924ea34db87588f5014cd0 Mon Sep 17 00:00:00 2001 From: TKNGUE Date: Thu, 22 Oct 2020 15:24:31 +0900 Subject: [PATCH 1/2] DOC: Remove confusing description on `Dataframe.iterrows` --- pandas/core/frame.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 5729d632a64ec..8d56d0648c323 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -971,8 +971,6 @@ def iterrows(self) -> Iterable[Tuple[Label, Series]]: data : Series The data of the row as a Series. - it : generator - A generator that iterates over the rows of the frame. See Also -------- From 39397e671cf26f9a982d22d36dd3341e6d6bd47f Mon Sep 17 00:00:00 2001 From: TKNGUE Date: Fri, 23 Oct 2020 10:36:25 +0900 Subject: [PATCH 2/2] Remove a redudant empty line --- pandas/core/frame.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 8d56d0648c323..8d5d900cc343f 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -971,7 +971,6 @@ def iterrows(self) -> Iterable[Tuple[Label, Series]]: data : Series The data of the row as a Series. - See Also -------- DataFrame.itertuples : Iterate over DataFrame rows as namedtuples of the values.