Skip to content

Commit

Permalink
DOC: Fix GroupBy.ffill() doc reference to rows (#60019)
Browse files Browse the repository at this point in the history
Fix `groupby.ffill()` doc reference to rows
  • Loading branch information
sparshsah authored Oct 11, 2024
1 parent 2b9ca07 commit f1bdd0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/groupby/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -3833,7 +3833,7 @@ def ffill(self, limit: int | None = None):
3 1.0 3.0 NaN NaN
4 1.0 1.0 NaN NaN
Only replace the first NaN element within a group along rows.
Only replace the first NaN element within a group along columns.
>>> df.groupby("key").ffill(limit=1)
A B C
Expand Down

0 comments on commit f1bdd0f

Please sign in to comment.