removed all references to _DATELIKE_DTYPES from /pandas/core/missing.py
This commit is contained in:
parent
5d37ce8647
commit
e4ba7e0f02
|
@ -12,7 +12,6 @@ from pandas.types.common import (is_numeric_v_string_like,
|
|||
is_float_dtype, is_datetime64_dtype,
|
||||
is_datetime64tz_dtype, is_integer_dtype,
|
||||
_ensure_float64, is_scalar,
|
||||
_DATELIKE_DTYPES,
|
||||
needs_i8_conversion)
|
||||
from pandas.types.missing import isnull
|
||||
|
||||
|
|
|
@ -22,12 +22,10 @@ _POSSIBLY_CAST_DTYPES = set([np.dtype(t).name
|
|||
_NS_DTYPE = np.dtype('M8[ns]')
|
||||
_TD_DTYPE = np.dtype('m8[ns]')
|
||||
_INT64_DTYPE = np.dtype(np.int64)
|
||||
_NS_DTYPE_UTC = DatetimeTZDtype.__new__(DatetimeTZDtype, unit='ns', tz='UTC')
|
||||
|
||||
_DATELIKE_DTYPES = set([np.dtype(t)
|
||||
for t in ['M8[ns]', '<M8[ns]', '>M8[ns]',
|
||||
'm8[ns]', '<m8[ns]', '>m8[ns]']] +
|
||||
[_NS_DTYPE_UTC])
|
||||
'm8[ns]', '<m8[ns]', '>m8[ns]']])
|
||||
|
||||
_ensure_float64 = algos.ensure_float64
|
||||
_ensure_float32 = algos.ensure_float32
|
||||
|
|
Loading…
Reference in New Issue