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 02b291c commit 4eee761Copy full SHA for 4eee761
pandas/core/dtypes/dtypes.py
@@ -2282,21 +2282,6 @@ def numpy_dtype(self) -> np.dtype:
2282
2283
try:
2284
np_dtype = self.pyarrow_dtype.to_pandas_dtype()
2285
-<<<<<<< HEAD
2286
-=======
2287
-
2288
- if isinstance(np_dtype, object):
2289
- from pandas.core.indexes.interval import IntervalIndex
2290
2291
- if hasattr(np_dtype, "categories") and isinstance(
2292
- np_dtype.categories, IntervalIndex
2293
- ):
2294
- return np.dtype(object)
2295
2296
- if isinstance(np_dtype, DatetimeTZDtype):
2297
- return np.dtype(f"datetime64[{np_dtype.unit}]")
2298
2299
->>>>>>> c5bfdf876b467a48df7f731765c0155950d67477
2300
return np.dtype(np_dtype)
2301
except (NotImplementedError, TypeError):
2302
# Fallback if something unexpected happens
0 commit comments