Skip to content

Commit

Permalink
DOC: fix SA01 for pandas.NA (#59787)
Browse files Browse the repository at this point in the history
  • Loading branch information
tuhinsharma121 authored Sep 13, 2024
1 parent 0d2505d commit 73c4fce
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion ci/code_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
--format=actions \
-i ES01 `# For now it is ok if docstrings are missing the extended summary` \
-i "pandas.Series.dt PR01" `# Accessors are implemented as classes, but we do not document the Parameters section` \
-i "pandas.NA SA01" \
-i "pandas.Period.freq GL08" \
-i "pandas.Period.ordinal GL08" \
-i "pandas.PeriodDtype.freq SA01" \
Expand Down
8 changes: 8 additions & 0 deletions pandas/_libs/missing.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,14 @@ class NAType(C_NAType):
The NA singleton is a missing value indicator defined by pandas. It is
used in certain new extension dtypes (currently the "string" dtype).
See Also
--------
numpy.nan : Floating point representation of Not a Number (NaN) for numerical data.
isna : Detect missing values for an array-like object.
notna : Detect non-missing values for an array-like object.
DataFrame.fillna : Fill missing values in a DataFrame.
Series.fillna : Fill missing values in a Series.
Examples
--------
>>> pd.NA
Expand Down

0 comments on commit 73c4fce

Please sign in to comment.