We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
numfocus
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 79741d1 commit 697fb32Copy full SHA for 697fb32
pandas/core/reshape/tile.py
@@ -19,7 +19,7 @@
19
is_datetime_or_timedelta_dtype,
20
is_extension_array_dtype,
21
is_integer,
22
- is_integer_dtype,
+ is_numeric_dtype,
23
is_list_like,
24
is_scalar,
25
is_timedelta64_dtype,
@@ -483,7 +483,7 @@ def _coerce_to_type(x):
483
# Will properly support in the future.
484
# https://github.com/pandas-dev/pandas/pull/31290
485
# https://github.com/pandas-dev/pandas/issues/31389
486
- elif is_extension_array_dtype(x.dtype) and is_integer_dtype(x.dtype):
+ elif is_extension_array_dtype(x.dtype) and is_numeric_dtype(x.dtype):
487
x = x.to_numpy(dtype=np.float64, na_value=np.nan)
488
489
if dtype is not None:
0 commit comments