-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
BugCompatpandas objects compatability with Numpy or Python functionspandas objects compatability with Numpy or Python functionsDatetimeDatetime data dtypeDatetime data dtype
Milestone
Description
xref #11760
Parsing unix epoch timestamps give NaT with errors='coerce'
while they can be parsed correctly without it:
>>> pd.to_datetime(1420043460, errors='coerce', unit='s')
NaT
>>> pd.to_datetime(1420043460, unit='s')
Timestamp('2014-12-31 16:31:00')
pandas: 0.17.1
numpy: 1.10.1
Python 2.7.7
Metadata
Metadata
Assignees
Labels
BugCompatpandas objects compatability with Numpy or Python functionspandas objects compatability with Numpy or Python functionsDatetimeDatetime data dtypeDatetime data dtype