Skip to content

Commit f1bdd0f

Browse files
authored
DOC: Fix GroupBy.ffill() doc reference to rows (#60019)
Fix `groupby.ffill()` doc reference to rows
1 parent 2b9ca07 commit f1bdd0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/groupby/groupby.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3833,7 +3833,7 @@ def ffill(self, limit: int | None = None):
38333833
3 1.0 3.0 NaN NaN
38343834
4 1.0 1.0 NaN NaN
38353835
3836-
Only replace the first NaN element within a group along rows.
3836+
Only replace the first NaN element within a group along columns.
38373837
38383838
>>> df.groupby("key").ffill(limit=1)
38393839
A B C

0 commit comments

Comments
 (0)