TimedeltaIndex.searchsorted()

TimedeltaIndex.searchsorted(key, side='left', sorter=None) [source] Find indices where elements should be inserted to maintain order. Find the indices into a sorted TimedeltaIndex self such that, if the corresponding elements in v were inserted before the indices, the order of self would be preserved. Parameters: key : array_like Values to insert into self. side : {?left?, ?right?}, optional If ?left?, the index of the first suitable location found is given. If ?right?, return the last

DatetimeIndex.nanosecond

DatetimeIndex.nanosecond The nanoseconds of the datetime

Series.asof()

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 value or NaN if input is Series Series if input is DataFrame whe

Styler.applymap()

Styler.applymap(func, subset=None, **kwargs) [source] Apply a function elementwise, updating the HTML representation with the result. New in version 0.17.1. Parameters: func : function func should take a scalar and return a scalar subset : IndexSlice a valid indexer to limit data to before applying the function. Consider using a pandas.IndexSlice kwargs : dict pass along to func Returns: self : Styler

Panel4D.update()

Panel4D.update(other, join='left', overwrite=True, filter_func=None, raise_conflict=False) [source] Modify Panel in place using non-NA values from passed Panel, or object coercible to Panel. Aligns on items Parameters: other : Panel, or object coercible to Panel join : How to join individual DataFrames {?left?, ?right?, ?outer?, ?inner?}, default ?left? overwrite : boolean, default True If True then overwrite values for common keys in the calling panel filter_func : callable(1d-array)

Series.str.rsplit()

Series.str.rsplit(pat=None, n=-1, expand=False) [source] Split each string in the Series/Index by the given delimiter string, starting at the end of the string and working to the front. Equivalent to str.rsplit(). New in version 0.16.2. Parameters: pat : string, default None Separator to split on. If None, splits on whitespace n : int, default -1 (all) None, 0 and -1 will be interpreted as return all splits expand : bool, default False If True, return DataFrame/MultiIndex expanding

Series.sum()

Series.sum(axis=None, skipna=None, level=None, numeric_only=None, **kwargs) [source] Return the sum of the values for the requested axis Parameters: axis : {index (0)} skipna : boolean, default True Exclude NA/null values. If an entire row/column is NA, the result will be NA level : int or level name, default None If the axis is a MultiIndex (hierarchical), count along a particular level, collapsing into a scalar numeric_only : boolean, default None Include only float, int, boolean co

Panel4D.major_xs()

Panel4D.major_xs(key) [source] Return slice of panel along major axis Parameters: key : object Major axis label Returns: y : DataFrame index -> minor axis, columns -> items Notes major_xs is only for getting, not setting values. MultiIndex Slicers is a generic way to get/set values on any level or levels and is a superset of major_xs functionality, see MultiIndex Slicers

Styler.highlight_null()

Styler.highlight_null(null_color='red') [source] Shade the background null_color for missing values. New in version 0.17.1. Parameters: null_color: str Returns: self : Styler

MultiIndex.drop()

MultiIndex.drop(labels, level=None, errors='raise') [source] Make new MultiIndex with passed list of labels deleted Parameters: labels : array-like Must be a list of tuples level : int or level name, default None Returns: dropped : MultiIndex