Skip to content

Commit a63b575

Browse files
Fix pandas.api.extensions.ExtensionArray.dropna
Add return value description and 'See Also' section
1 parent e6fa938 commit a63b575

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
248248
-i "pandas.Timestamp.utctimetuple SA01" \
249249
-i "pandas.Timestamp.value GL08" \
250250
-i "pandas.Timestamp.year GL08" \
251-
-i "pandas.api.extensions.ExtensionArray.dropna RT03,SA01" \
252251
-i "pandas.api.extensions.ExtensionArray.dtype SA01" \
253252
-i "pandas.api.extensions.ExtensionArray.duplicated RT03,SA01" \
254253
-i "pandas.api.extensions.ExtensionArray.fillna SA01" \

pandas/core/arrays/base.py

+10
Original file line numberDiff line numberDiff line change
@@ -1160,6 +1160,16 @@ def dropna(self) -> Self:
11601160
11611161
Returns
11621162
-------
1163+
Self
1164+
An ExtensionArray of the same type as the original but with all
1165+
NA values removed.
1166+
1167+
See Also
1168+
--------
1169+
Series.dropna : Remove missing values from a Series.
1170+
DataFrame.dropna : Remove missing values from a DataFrame.
1171+
api.extensions.ExtensionArray.isna : Check for missing values in
1172+
an ExtensionArray.
11631173
11641174
Examples
11651175
--------

0 commit comments

Comments
 (0)