Skip to content

Commit e4ba7e0

Browse files
removed all references to _DATELIKE_DTYPES from /pandas/core/missing.py
1 parent 5d37ce8 commit e4ba7e0

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

pandas/core/missing.py

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
is_float_dtype, is_datetime64_dtype,
1313
is_datetime64tz_dtype, is_integer_dtype,
1414
_ensure_float64, is_scalar,
15-
_DATELIKE_DTYPES,
1615
needs_i8_conversion)
1716
from pandas.types.missing import isnull
1817

pandas/types/common.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@
2222
_NS_DTYPE = np.dtype('M8[ns]')
2323
_TD_DTYPE = np.dtype('m8[ns]')
2424
_INT64_DTYPE = np.dtype(np.int64)
25-
_NS_DTYPE_UTC = DatetimeTZDtype.__new__(DatetimeTZDtype, unit='ns', tz='UTC')
2625

2726
_DATELIKE_DTYPES = set([np.dtype(t)
2827
for t in ['M8[ns]', '<M8[ns]', '>M8[ns]',
29-
'm8[ns]', '<m8[ns]', '>m8[ns]']] +
30-
[_NS_DTYPE_UTC])
28+
'm8[ns]', '<m8[ns]', '>m8[ns]']])
3129

3230
_ensure_float64 = algos.ensure_float64
3331
_ensure_float32 = algos.ensure_float32

0 commit comments

Comments
 (0)