Index.sort_values()

Index.sort_values(return_indexer=False, ascending=True) [source] Return sorted copy of Index

Index.sort()

Index.sort(*args, **kwargs) [source]

Index.sortlevel()

Index.sortlevel(level=None, ascending=True, sort_remaining=None) [source] For internal compatibility with with the Index API Sort the Index. This is for compat with MultiIndex Parameters: ascending : boolean, default True False to sort in descending order level, sort_remaining are compat parameters Returns: sorted_index : Index

Index.slice_indexer()

Index.slice_indexer(start=None, end=None, step=None, kind=None) [source] For an ordered Index, compute the slice indexer for input labels and step Parameters: start : label, default None If None, defaults to the beginning end : label, default None If None, defaults to the end step : int, default None kind : string, default None Returns: indexer : ndarray or slice Notes This function assumes that the data is sorted, so use at your own peril

Index.slice_locs()

Index.slice_locs(start=None, end=None, step=None, kind=None) [source] Compute slice locations for input labels. Parameters: start : label, default None If None, defaults to the beginning end : label, default None If None, defaults to the end step : int, defaults None If None, defaults to 1 kind : {?ix?, ?loc?, ?getitem?} or None Returns: start, end : int

Index.size

Index.size return the number of elements in the underlying data

Index.shift()

Index.shift(periods=1, freq=None) [source] Shift Index containing datetime objects by input number of periods and DateOffset Returns: shifted : Index

Index.set_names()

Index.set_names(names, level=None, inplace=False) [source] Set new names on index. Defaults to returning new index. Parameters: names : str or sequence name(s) to set level : int, level name, or sequence of int/level names (default None) If the index is a MultiIndex (hierarchical), level(s) to set (None for all levels). Otherwise level must be None inplace : bool if True, mutates in place Returns: new index (of same type and class...etc) [if inplace, returns None] Examples >>

Index.shape

Index.shape return a tuple of the shape of the underlying data

Index.set_value()

Index.set_value(arr, key, value) [source] Fast lookup of value from 1-dimensional ndarray. Only use this if you know what you?re doing