Skip to content

Commit 081b555

Browse files
committed
Fixed Issue No. #43755
1 parent fcce72d commit 081b555

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

ci/code_checks.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ fi
8989
### DOCSTRINGS ###
9090
if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
9191

92-
MSG='Validate docstrings (GL02, GL03, GL04, GL05, GL06, GL07, GL09, GL10, SS01, SS02, SS04, SS05, PR03, PR04, PR05, PR06, PR10, EX04, RT01, RT04, RT05, SA02, SA03)' ; echo $MSG
93-
$BASE_DIR/scripts/validate_docstrings.py --format=actions --errors=GL02,GL03,GL04,GL05,GL06,GL07,GL09,GL10,SS02,SS04,SS05,PR03,PR04,PR05,PR06,PR10,EX04,RT01,RT04,RT05,SA02,SA03
92+
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
93+
$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
9494
RET=$(($RET + $?)) ; echo $MSG "DONE"
9595

9696
fi

pandas/core/arrays/sparse/array.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,8 @@ class SparseArray(OpsMixin, PandasObject, ExtensionArray):
280280
3. ``data.dtype.fill_value`` if `fill_value` is None and `dtype`
281281
is not a ``SparseDtype`` and `data` is a ``SparseArray``.
282282
283-
kind : {'integer', 'block'}, default 'integer'
283+
kind : str
284+
Can be 'integer' or 'block', default is 'integer'.
284285
The type of storage for sparse locations.
285286
286287
* 'block': Stores a `block` and `block_length` for each

pandas/core/frame.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10563,7 +10563,7 @@ def isin(self, values) -> DataFrame:
1056310563
1056410564
When ``values`` is a Series or DataFrame the index and column must
1056510565
match. Note that 'falcon' does not match based on the number of legs
10566-
in df2.
10566+
in other.
1056710567
1056810568
>>> other = pd.DataFrame({'num_legs': [8, 2], 'num_wings': [0, 2]},
1056910569
... index=['spider', 'falcon'])

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)