-
-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Closed
Labels
DatetimeDatetime data dtypeDatetime data dtypeError ReportingIncorrect or improved errors from pandasIncorrect or improved errors from pandasReshapingConcat, Merge/Join, Stack/Unstack, ExplodeConcat, Merge/Join, Stack/Unstack, ExplodeTimezonesTimezone data dtypeTimezone data dtype
Description
xref #11410 (comment)
These are both datetimes, but not compatible.
In [8]: df = DataFrame({'A':pd.date_range('20130101',periods=3),'B':pd.date_range('20130101',periods=3,tz='US/Eastern')})
In [9]: pd.merge(df, df, left_on='A', right_on='B')
TypeError: Argument 'values' has incorrect type (expected numpy.ndarray, got Index)
tarikki, dxe4, julius-datajunkie and maxbellecdxe4
Metadata
Metadata
Assignees
Labels
DatetimeDatetime data dtypeDatetime data dtypeError ReportingIncorrect or improved errors from pandasIncorrect or improved errors from pandasReshapingConcat, Merge/Join, Stack/Unstack, ExplodeConcat, Merge/Join, Stack/Unstack, ExplodeTimezonesTimezone data dtypeTimezone data dtype