Skip to content

Commit 7d40572

Browse files
committed
fix pre-commit
1 parent 53b8015 commit 7d40572

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

pandas/core/frame.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -10870,9 +10870,7 @@ def quantile(
1087010870
f"Invalid method: {method}. Method must be in {valid_method}."
1087110871
)
1087210872
if method == "single":
10873-
res = data._mgr.quantile(
10874-
qs=q, axis=1, interpolation=interpolation
10875-
)
10873+
res = data._mgr.quantile(qs=q, axis=1, interpolation=interpolation)
1087610874
elif method == "table":
1087710875
valid_interpolation = {"nearest", "lower", "higher"}
1087810876
if interpolation not in valid_interpolation:

pandas/core/indexes/numeric.py

-3
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
is_integer_dtype,
2121
is_numeric_dtype,
2222
is_scalar,
23-
is_signed_integer_dtype,
24-
is_unsigned_integer_dtype,
2523
pandas_dtype,
2624
)
2725
from pandas.core.dtypes.generic import ABCSeries
@@ -137,7 +135,6 @@ def _ensure_array(cls, data, dtype, copy: bool):
137135
if not isinstance(data, (ABCSeries, list, tuple)):
138136
data = list(data)
139137

140-
orig = data
141138
if isinstance(data, (list, tuple)):
142139
if len(data):
143140
data = sanitize_array(data, index=None)

0 commit comments

Comments
 (0)