8000
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 35e105f commit b5c8398Copy full SHA for b5c8398
numpy/lib/_nanfunctions_impl.py
@@ -1376,7 +1376,8 @@ def nanpercentile(
1376
raise TypeError("a must be an array of real numbers")
1377
1378
q = np.true_divide(q, a.dtype.type(100) if a.dtype.kind == "f" else 100)
1379
- q = np.asanyarray(q) # undo any decay that the ufunc performed (see gh-13105)
+ # undo any decay that the ufunc performed (see gh-13105)
1380
+ q = np.asanyarray(q)
1381
if not fnb._quantile_is_valid(q):
1382
raise ValueError("Percentiles must be in the range [0, 100]")
1383
return _nanquantile_unchecked(
0 commit comments