pandas 0.9.0 documentation

pandas.Series.asof

Series.asof(where)

Return last good (non-NaN) value in TimeSeries if value is NaN for requested date.

If there is no good value, NaN is returned.

Parameters :where : date or array of dates
Returns :value or NaN :

Notes

Dates are assumed to be sorted