Panel.last()

Panel.last(offset) [source] Convenience method for subsetting final periods of time series data based on a date offset. Parameters: offset : string, DateOffset, dateutil.relativedelta Returns: subset : type of caller Examples ts.last(?5M?) -> Last 5 months

MultiIndex.get_loc_level()

MultiIndex.get_loc_level(key, level=0, drop_level=True) [source] Get integer location slice for requested label or tuple Parameters: key : label or tuple level : int/level name or list thereof Returns: loc : int or slice object

Panel.groupby()

Panel.groupby(function, axis='major') [source] Group data on given axis, returning GroupBy object Parameters: function : callable Mapping function for chosen access axis : {?major?, ?minor?, ?items?}, default ?major? Returns: grouped : PanelGroupBy

Series.dt.is_leap_year

Series.dt.is_leap_year Logical indicating if the date belongs to a leap year

Index.ravel()

Index.ravel(order='C') [source] return an ndarray of the flattened values of the underlying data See also numpy.ndarray.ravel

DatetimeIndex.to_perioddelta()

DatetimeIndex.to_perioddelta(freq) [source] Calcuates TimedeltaIndex of difference between index values and index converted to PeriodIndex at specified freq. Used for vectorized offsets New in version 0.17.0. Parameters: freq : Period frequency Returns: y : TimedeltaIndex

MultiIndex.labels

MultiIndex.labels

DatetimeIndex.is_type_compatible()

DatetimeIndex.is_type_compatible(typ) [source]

DatetimeIndex.tz_localize()

DatetimeIndex.tz_localize(*args, **kwargs) [source] Localize tz-naive DatetimeIndex to given time zone (using pytz/dateutil), or remove timezone from tz-aware DatetimeIndex Parameters: tz : string, pytz.timezone, dateutil.tz.tzfile or None Time zone for time. Corresponding timestamps would be converted to time zone of the TimeSeries. None will remove timezone holding local time. ambiguous : ?infer?, bool-ndarray, ?NaT?, default ?raise? ?infer? will attempt to infer fall dst-transition h

DataFrameGroupBy.hist()

DataFrameGroupBy.hist(data, column=None, by=None, grid=True, xlabelsize=None, xrot=None, ylabelsize=None, yrot=None, ax=None, sharex=False, sharey=False, figsize=None, layout=None, bins=10, **kwds) Draw histogram of the DataFrame?s series using matplotlib / pylab. Parameters: data : DataFrame column : string or sequence If passed, will be used to limit data to a subset of columns by : object, optional If passed, then used to form histograms for separate groups grid : boolean, default T