Skip to content

Commit 3ac2a29

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

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
@@ -193,7 +193,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
193193
-i "pandas.Timestamp.tzinfo GL08" \
194194
-i "pandas.Timestamp.value GL08" \
195195
-i "pandas.Timestamp.year GL08" \
196-
-i "pandas.api.extensions.ExtensionArray.dropna RT03,SA01" \
197196
-i "pandas.api.extensions.ExtensionArray.dtype SA01" \
198197
-i "pandas.api.extensions.ExtensionArray.duplicated RT03,SA01" \
199198
-i "pandas.api.extensions.ExtensionArray.fillna SA01" \

pandas/core/arrays/base.py

+10
Original file line numberDiff line numberDiff line change
@@ -1175,6 +1175,16 @@ def dropna(self) -> Self:
11751175
11761176
Returns
11771177
-------
1178+
Self
1179+
An ExtensionArray of the same type as the original but with all
1180+
NA values removed.
1181+
1182+
See Also
1183+
--------
1184+
Series.dropna : Remove missing values from a Series.
1185+
DataFrame.dropna : Remove missing values from a DataFrame.
1186+
api.extensions.ExtensionArray.isna : Check for missing values in
1187+
an ExtensionArray.
11781188
11791189
Examples
11801190
--------

0 commit comments

Comments
 (0)