We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6264e6 commit 237926dCopy full SHA for 237926d
pandas/core/algorithms.py
@@ -1752,7 +1752,7 @@ def _build_map_infer_methods_params(arr: ArrayLike):
1752
"""
1753
na_value = np.nan
1754
mask = isna(arr)
1755
- storage = "python"
+ storage = None
1756
if isinstance(arr.dtype, BaseMaskedDtype):
1757
arr = cast("BaseMaskedArray", arr)
1758
values = arr._data
@@ -1768,6 +1768,8 @@ def _build_map_infer_methods_params(arr: ArrayLike):
1768
values = np.asarray(arr)
1769
if "pyarrow" in arr_dtype:
1770
storage = "pyarrow"
1771
+ if "python" in arr_dtype:
1772
+ storage = "python"
1773
if arr._hasna:
1774
na_value = arr.dtype.na_value
1775
0 commit comments