Series.asof(where, subset=None)
[source]
The last row without any NaN is taken (or the last row without NaN considering only the subset of columns in the case of a DataFrame)
New in version 0.19.0: For DataFrame
If there is no good value, NaN is returned.
Parameters: |
where : date or array of dates subset : string or list of strings, default None if not None use these columns for NaN propagation |
---|---|
Returns: |
where is scalar
where is Index: same shape object as input |
See also
Dates are assumed to be sorted Raises if this is not the case
© 2011–2012 Lambda Foundry, Inc. and PyData Development Team
© 2008–2011 AQR Capital Management, LLC
© 2008–2014 the pandas development team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.19.2/generated/pandas.Series.asof.html