pydata/pandas — pull request #5303 by jreback (2013-10-23 21:03:57+00:00)
Title: BUG:  Fix Series.isin with date/time-like dtypes (GH5021)

closes #5021

```

In [6]: s = Series(date_range('jan-01-2013','jan-05-2013'))

In [7]: s
Out[7]:
0 2013-01-01 00:00:00
1 2013-01-02 00:00:00
2 2013-01-03 00:00:00
3 2013-01-04 00:00:00
4 2013-01-05 00:00:00
dtype: datetime64[ns]

In [8]: s.isin(s[0:2])
Out[8]:
0 True
1 True
2 False
3 False
4 False
dtype: bool

In [9]: s = Series(pd.to_timedelta(list(range(5)),unit='d'))

In [10]: s
Out[10]:
0 00:00:00
1 1 days, 00:00:00
2 2 days, 00:00:00
3 3 days, 00:00:00
4 4 days, 00:00:00
dtype: timedelta64[ns]

In [11]: s.isin(s[0:2])
Out[11]:
0 True
1 True
2 False
3 False
4 False
dtype: bool
```