Skip to content

Commit c130470

Browse files
committed
Fixed Issue No. pandas-dev#43755
1 parent fcce72d commit c130470

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

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)