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(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 Logical indicating if the date belongs to a leap year
Index.ravel(order='C') [source] return an ndarray of the flattened values of the underlying data See also numpy.ndarray.ravel
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
DatetimeIndex.is_type_compatible(typ) [source]
MultiIndex.insert(loc, item) [source] Make new MultiIndex inserting new item at location Parameters: loc : int item : tuple Must be same length as number of levels in the MultiIndex Returns: new_index : Index
DatetimeIndex.is_monotonic_decreasing return if the index is monotonic decreasing (only equal or decreasing) values.
DatetimeIndex.is_leap_year Logical indicating if the date belongs to a leap year
Page 7 of 178