Skip to content

Commit 4eee761

Browse files
committed
fixing syntax error
1 parent 02b291c commit 4eee761

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

pandas/core/dtypes/dtypes.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2282,21 +2282,6 @@ def numpy_dtype(self) -> np.dtype:
22822282

22832283
try:
22842284
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
23002285
return np.dtype(np_dtype)
23012286
except (NotImplementedError, TypeError):
23022287
# Fallback if something unexpected happens

0 commit comments

Comments
 (0)