Skip to content

Commit 2d0fa31

Browse files
authored
Updated code_checks.sh with PR06 (#43511)
1 parent 1fe373f commit 2d0fa31

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

ci/code_checks.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ fi
9393
### DOCSTRINGS ###
9494
if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
9595

96-
MSG='Validate docstrings (GL01, GL02, GL03, GL04, GL05, GL06, GL07, GL09, GL10, SS01, SS02, SS03, SS04, SS05, PR03, PR04, PR05, PR08, PRO9, PR10, EX04, RT01, RT04, RT05, SA02, SA03)' ; echo $MSG
97-
$BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=GL01,GL02,GL03,GL04,GL05,GL06,GL07,GL09,GL10,SS02,SS03,SS04,SS05,PR03,PR04,PR05,PR08,PR09,PR10,EX04,RT01,RT04,RT05,SA02,SA03
96+
MSG='Validate docstrings (GL01, GL02, GL03, GL04, GL05, GL06, GL07, GL09, GL10, SS01, SS02, SS03, SS04, SS05, PR03, PR04, PR05, PR06, PR08, PR09, PR10, EX04, RT01, RT04, RT05, SA02, SA03)' ; echo $MSG
97+
$BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=GL01,GL02,GL03,GL04,GL05,GL06,GL07,GL09,GL10,SS02,SS03,SS04,SS05,PR03,PR04,PR05,PR06,PR08,PR09,PR10,EX04,RT01,RT04,RT05,SA02,SA03
9898
RET=$(($RET + $?)) ; echo $MSG "DONE"
9999

100100
fi

pandas/core/arrays/sparse/array.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@ class SparseArray(OpsMixin, PandasObject, ExtensionArray):
302302
3. ``data.dtype.fill_value`` if `fill_value` is None and `dtype`
303303
is not a ``SparseDtype`` and `data` is a ``SparseArray``.
304304
305-
kind : {'integer', 'block'}, default 'integer'
305+
kind : str
306+
Can be 'integer' or 'block', default is 'integer'.
306307
The type of storage for sparse locations.
307308
308309
* 'block': Stores a `block` and `block_length` for each

pandas/core/tools/numeric.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ def to_numeric(arg, errors="raise", downcast=None):
4848
- If 'raise', then invalid parsing will raise an exception.
4949
- If 'coerce', then invalid parsing will be set as NaN.
5050
- If 'ignore', then invalid parsing will return the input.
51-
downcast : {'integer', 'signed', 'unsigned', 'float'}, default None
51+
downcast : str, default None
52+
Can be 'integer', 'signed', 'unsigned', or 'float'.
5253
If not None, and if the data has been successfully cast to a
5354
numerical dtype (or if the data was numeric to begin with),
5455
downcast that resulting data to the smallest numerical dtype

0 commit comments

Comments
 (0)