Skip to content

Commit 46bffce

Browse files
Update style for see also
1 parent ec3eddd commit 46bffce

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

ci/code_checks.sh

-3
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,12 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
8181
-i "pandas.CategoricalIndex.ordered SA01" \
8282
-i "pandas.DataFrame.__dataframe__ SA01" \
8383
-i "pandas.DataFrame.__iter__ SA01" \
84-
-i "pandas.DataFrame.assign SA01" \
8584
-i "pandas.DataFrame.at_time PR01" \
8685
-i "pandas.DataFrame.axes SA01" \
87-
-i "pandas.DataFrame.bfill SA01" \
8886
-i "pandas.DataFrame.columns SA01" \
8987
-i "pandas.DataFrame.copy SA01" \
9088
-i "pandas.DataFrame.droplevel SA01" \
9189
-i "pandas.DataFrame.dtypes SA01" \
92-
-i "pandas.DataFrame.ffill SA01" \
9390
-i "pandas.DataFrame.first_valid_index SA01" \
9491
-i "pandas.DataFrame.get SA01" \
9592
-i "pandas.DataFrame.hist RT03" \

pandas/core/frame.py

+4
Original file line numberDiff line numberDiff line change
@@ -4915,6 +4915,10 @@ def assign(self, **kwargs) -> DataFrame:
49154915
A new DataFrame with the new columns in addition to
49164916
all the existing columns.
49174917
4918+
See Also
4919+
--------
4920+
DataFrame.assign : Assign new columns to a DataFrame.
4921+
49184922
Notes
49194923
-----
49204924
Assigning multiple columns within the same ``assign`` is possible.

pandas/core/generic.py

+10
Original file line numberDiff line numberDiff line change
@@ -7089,6 +7089,11 @@ def ffill(
70897089
{klass} or None
70907090
Object with missing values filled or None if ``inplace=True``.
70917091
7092+
See Also
7093+
--------
7094+
DataFrame.bfill : Fill NA/NaN values by using the next valid observation
7095+
to fill the gap.
7096+
70927097
Examples
70937098
--------
70947099
>>> df = pd.DataFrame(
@@ -7217,6 +7222,11 @@ def bfill(
72177222
{klass} or None
72187223
Object with missing values filled or None if ``inplace=True``.
72197224
7225+
See Also
7226+
--------
7227+
DataFrame.ffill : Fill NA/NaN values by propagating the last valid
7228+
observation to next valid.
7229+
72207230
Examples
72217231
--------
72227232
For Series:

0 commit comments

Comments
 (0)