Skip to content

Commit c1857bf

Browse files
committed
made float64 default return
1 parent bdafa93 commit c1857bf

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pandas/core/array_algos/quantile.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,5 @@ def _quantile_ea_fallback(
181181
assert res.ndim == 2
182182
assert res.shape[0] == 1
183183
res = res[0]
184-
try:
185-
out = type(values)._from_sequence(res, dtype=values.dtype)
186-
except TypeError:
187-
out = np.atleast_2d(np.asarray(res, dtype=np.float64))
184+
out = np.atleast_2d(np.asarray(res, dtype=np.float64))
188185
return out

0 commit comments

Comments
 (0)