Skip to content

Commit 2d7db69

Browse files
tuhinsharma121pmhatre1
authored andcommitted
DOC: Enforce Numpy Docstring Validation for pandas.Int (pandas-dev#58511)
* DOC: add SA01 for Int16Dtype,Int32Dtype,Int64Dtype,Int8Dtype * DOC: remove SA01 for Int16Dtype,Int32Dtype,Int64Dtype,Int8Dtype * DOC: remove SA01 for Int16Dtype,Int32Dtype,Int64Dtype,Int8Dtype * DOC: change description to n-bit nullable integer type
1 parent a6c058a commit 2d7db69

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

ci/code_checks.sh

-8
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
8888
-i "pandas.Index.names GL08" \
8989
-i "pandas.Index.ravel PR01,RT03" \
9090
-i "pandas.Index.str PR01,SA01" \
91-
-i "pandas.Int16Dtype SA01" \
92-
-i "pandas.Int32Dtype SA01" \
93-
-i "pandas.Int64Dtype SA01" \
94-
-i "pandas.Int8Dtype SA01" \
9591
-i "pandas.Interval PR02" \
9692
-i "pandas.Interval.closed SA01" \
9793
-i "pandas.Interval.left SA01" \
@@ -391,10 +387,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
391387
-i "pandas.Timestamp.weekday SA01" \
392388
-i "pandas.Timestamp.weekofyear SA01" \
393389
-i "pandas.Timestamp.year GL08" \
394-
-i "pandas.UInt16Dtype SA01" \
395-
-i "pandas.UInt32Dtype SA01" \
396-
-i "pandas.UInt64Dtype SA01" \
397-
-i "pandas.UInt8Dtype SA01" \
398390
-i "pandas.api.extensions.ExtensionArray SA01" \
399391
-i "pandas.api.extensions.ExtensionArray._accumulate RT03,SA01" \
400392
-i "pandas.api.extensions.ExtensionArray._concat_same_type PR07,SA01" \

pandas/core/arrays/integer.py

+7
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,13 @@ class IntegerArray(NumericArray):
144144
-------
145145
None
146146
147+
See Also
148+
--------
149+
Int8Dtype : 8-bit nullable integer type.
150+
Int16Dtype : 16-bit nullable integer type.
151+
Int32Dtype : 32-bit nullable integer type.
152+
Int64Dtype : 64-bit nullable integer type.
153+
147154
Examples
148155
--------
149156
For Int8Dtype:

0 commit comments

Comments
 (0)