pydata/pandas — pull request #8246 by TomAugspurger (2014-09-11 17:30:33+00:00)
Title: BUG: DatetimeIndex.asof matches partial dates

Closes https://github.com/pydata/pandas/issues/8245

current master:
```python
In [6]: idx.asof('2010-02')
Out[6]: Timestamp('2010-02-01 00:00:00')
```

fixed:
```python
In [3]: idx.asof('2010-02')
Out[3]: Timestamp('2010-01-31 00:00:00', offset='M')
```

Will try to do a test_perf on this later. I've been working in python 3, but I don't think vbench is ported for that.