Skip to content

Commit 3801310

Browse files
committed
isort, remove pint_pandas example
1 parent da6cf68 commit 3801310

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

pandas/core/dtypes/common.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,9 +1261,6 @@ def np_issubclass_compat(unique_dtype, dtypes_set) -> bool:
12611261
True
12621262
>>> np_issubclass_compat(pd.Float64Dtype(), [np.number])
12631263
True
1264-
>>> import pint_pandas
1265-
>>> np_issubclass_compat(pint_pandas.PintType("meter"), [np.number])
1266-
True
12671264
"""
12681265
if issubclass(unique_dtype.type, tuple(dtypes_set)) or ( # type: ignore
12691266
np.number in dtypes_set

pandas/core/frame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@
112112
is_scalar,
113113
is_sequence,
114114
needs_i8_conversion,
115-
pandas_dtype,
116115
np_issubclass_compat,
116+
pandas_dtype,
117117
)
118118
from pandas.core.dtypes.missing import isna, notna
119119

0 commit comments

Comments
 (0)