You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The converter is a little too agressive here as it should not try to convert this when the dtype is specified (as 'NOV' as a string is a valid datetime) and since there is another datetime it will try to coerce.
This should be passing False rather than True to the _try_casthere
In [2]: Series([Timestamp('20130101'),'NOV'],dtype=object)
Out[2]:
0 2013-01-01
1 2015-11-12
dtype: datetime64[ns]
The .apply on DataFrame is converting my string to a date. I have posted this on StackOverflow:
http://stackoverflow.com/questions/28487105/pandas-on-apply-passing-wrong-value
I'm not sure if I'm doing something wrong or it is a bug, but it seems quite strange behavior.
Example here
The text was updated successfully, but these errors were encountered: