Overview: IndexHierarchy: Method

Detail: IndexHierarchy: Method

Detail

IndexHierarchy.__array__(dtype)

Support the __array__ interface, returning an array of values.

Detail

IndexHierarchy.__array_ufunc__(ufunc, method, *args, **kwargs)

Support for NumPy elements or arrays on the left hand of binary operators.

Detail

IndexHierarchy.__bool__()

Raises ValueError to prohibit ambiguous use of truthy evaluation.

Detail

IndexHierarchy.__copy__()

Return a shallow copy of this IndexHierarchy.

Detail

IndexHierarchy.__deepcopy__(memo)

Return a deep copy of this IndexHierarchy.

Detail

IndexHierarchy.__len__()

Detail

IndexHierarchy.all(axis, skipna, out)

Logical and over values along the specified axis. Args: axis: Axis, defaulting t…

Detail

IndexHierarchy.any(axis, skipna, out)

Logical or over values along the specified axis. Args: axis: Axis, defaulting to…

Detail

IndexHierarchy.astype[key](dtypes, *, consolidate_blocks)

Selector of columns by label. Args: key: A loc selector, either a label, a list…

Detail

IndexHierarchy.astype(dtype, *, consolidate_blocks)

Apply a single dtype to all columns.

Detail

IndexHierarchy.copy()

Return a shallow copy of this IndexHierarchy.

Detail

IndexHierarchy.cumprod(axis, skipna)

Return the cumulative product over the specified axis. Args: axis: Axis, default…

Detail

IndexHierarchy.cumsum(axis, skipna)

Return the cumulative sum over the specified axis. Args: axis: Axis, defaulting…

Detail

IndexHierarchy.difference(*others)

Detail

IndexHierarchy.dropfalsy(*, condition)

Return a new obj:IndexHierarchy after removing labels where any or all values ar…

Detail

IndexHierarchy.dropna(*, condition)

Return a new obj:IndexHierarchy after removing labels where any or all values ar…

Detail

IndexHierarchy.equals(other, *, compare_name, compare_dtype, compare_class, skipna)

Return a bool from comparison to any other object. Args: compare_name: Include e…

Detail

IndexHierarchy.fillfalsy(value)

Return an IndexHierarchy after replacing falsy values with the supplied value. A…

Detail

IndexHierarchy.fillna(value)

Return an IndexHierarchy after replacing NA (NaN or None) with the supplied valu…

Detail

IndexHierarchy.flat()

Return a flat, one-dimensional index of tuples for each level.

Detail

IndexHierarchy.head(count)

Return a Index consisting only of the top elements as specified by count. Args:…

Detail

IndexHierarchy.iloc_searchsorted(values, *, side_left)

Given a sorted Series, return the iloc (integer) position(s) at which insertion…

Detail

IndexHierarchy.index_at_depth(depth_level)

Return an index, or a tuple of indices for the depth_level specified. Args: dept…

Detail

IndexHierarchy.indexer_at_depth(depth_level)

Return the indexers for the depth_level specified. Array will 2D if multiple dep…

Detail

IndexHierarchy.intersection(*others)

Detail

IndexHierarchy.isfalsy()

Return a same-shaped, Boolean ndarray indicating which values are falsy.

Detail

IndexHierarchy.isin(other)

Return a Boolean array showing True where one or more of the passed in iterable…

Detail

IndexHierarchy.isna()

Return a same-shaped, Boolean ndarray indicating which values are NaN or None.

Detail

IndexHierarchy.label_widths_at_depth(depth_level)

A generator of pairs, where each pair is the label and the contiguous count of t…

Detail

IndexHierarchy.level_add(level, *, index_constructor)

Return an IndexHierarchy with a new root (outer) level added.

Detail

IndexHierarchy.level_drop(count)

Return an IndexHierarchy with one or more leaf levels removed. Args: count: A po…

Detail

IndexHierarchy.loc_searchsorted(values, *, side_left, fill_value)

Given a sorted Series, return the loc (label) position(s) at which insertion in…

Detail

IndexHierarchy.loc_to_iloc(key)

Given a label (loc) style key (either a label, a list of labels, a slice, an HLo…

Detail

IndexHierarchy.max(axis, skipna)

Return the maximum along the specified axis. Args: axis: Axis, defaulting to axi…

Detail

IndexHierarchy.mean(axis, skipna, out)

Return the mean along the specified axis. Args: axis: Axis, defaulting to axis 0…

Detail

IndexHierarchy.median(axis, skipna, out)

Return the median along the specified axis. Args: axis: Axis, defaulting to axis…

Detail

IndexHierarchy.min(axis, skipna, out)

Return the minimum along the specified axis. Args: axis: Axis, defaulting to axi…

Detail

IndexHierarchy.notfalsy()

Return a same-shaped, Boolean ndarray indicating which values are falsy.

Detail

IndexHierarchy.notna()

Return a same-shaped, Boolean ndarray indicating which values are NaN or None.

Detail

IndexHierarchy.prod(axis, skipna, allna, out)

Return the product along the specified axis. Args: axis: Axis, defaulting to axi…

Detail

IndexHierarchy.rehierarch(depth_map, *, index_constructors)

Return a new IndexHierarchy that conforms to the new depth assignments given be…

Detail

IndexHierarchy.relabel(mapper)

Return a new IndexHierarchy with labels replaced by the callable or mapping; ord…

Detail

IndexHierarchy.relabel_at_depth(mapper, depth_level)

Return a new IndexHierarchy after applying mapper to a level or each individual…

Detail

IndexHierarchy.rename(name)

Return a new IndexHierarchy with an updated name attribute.

Detail

IndexHierarchy.roll(shift)

Return an IndexHierarchy with values rotated forward and wrapped around (with a…

Detail

IndexHierarchy.sample(count, *, seed)

Randomly (optionally made deterministic with a fixed seed) extract items from th…

Detail

IndexHierarchy.sort(*, ascending, kind, key)

Return a new Index with the labels sorted. Args: ascendings: Boolean, or iterabl…

Detail

IndexHierarchy.std(axis, skipna, ddof, out)

Return the standard deviaton along the specified axis. Args: axis: Axis, default…

Detail

IndexHierarchy.sum(axis, skipna, allna, out)

Sum values along the specified axis. Args: axis: Axis, defaulting to axis 0. ski…

Detail

IndexHierarchy.tail(count)

Return a Index consisting only of the bottom elements as specified by count. Arg…

Detail

IndexHierarchy.union(*others)

Detail

IndexHierarchy.unique(depth_level, order_by_occurrence)

Return a NumPy array of unique values. Args: depth_level: Specify a single depth…

Detail

IndexHierarchy.values_at_depth(depth_level)

Return an NP array for the depth_level specified. Args: depth_level: a single de…

Detail

IndexHierarchy.var(axis, skipna, ddof, out)

Return the variance along the specified axis. Args: axis: Axis, defaulting to ax…

IndexHierarchy: Constructor | Exporter | Attribute | Method | Dictionary-Like | Display | Selector | Iterator | Operator Binary | Operator Unary | Accessor Values | Accessor Datetime | Accessor String | Accessor Transpose | Accessor Regular Expression | Accessor Hashlib | Accessor Type Clinic