Indexing — pandas 0.24.0rc1 documentation (original) (raw)
Index.all(*args, **kwargs)
Return whether all elements are True.
Index.any(*args, **kwargs)
Return whether any element is True.
Index.argmin([axis, skipna])
Return a ndarray of the minimum argument indexer.
Index.argmax([axis, skipna])
Return a ndarray of the maximum argument indexer.
Index.copy([name, deep, dtype])
Make a copy of this object.
Index.delete(loc)
Make new Index with passed location(-s) deleted.
Index.drop(labels[, errors])
Make new Index with passed list of labels deleted.
Index.drop_duplicates([keep])
Return Index with duplicate values removed.
Index.duplicated([keep])
Indicate duplicate index values.
Index.equals(other)
Determines if two Index objects contain the same elements.
Index.factorize([sort, na_sentinel])
Encode the object as an enumerated type or categorical variable.
Index.identical(other)
Similar to equals, but check that other comparable attributes are also equal.
Index.insert(loc, item)
Make new Index inserting new item at location.
Index.is_(other)
More flexible, faster check like is
but that works through views.
Check if the Index holds categorical data.
Index.min([axis, skipna])
Return the minimum value of the Index.
Index.max([axis, skipna])
Return the maximum value of the Index.
Index.reindex(target[, method, level, …])
Create index with target’s values (move/add/delete values as necessary).
Index.rename(name[, inplace])
Alter Index or MultiIndex name.
Index.repeat(repeats[, axis])
Repeat elements of a Index.
Index.where(cond[, other])
Return an Index of same shape as self and whose corresponding entries are from self where cond is True and otherwise are from other.
Index.take(indices[, axis, allow_fill, …])
Return a new Index of the values selected by the indices.
Index.putmask(mask, value)
Return a new Index of the values set with the mask.
Index.unique([level])
Return unique values in the index.
Index.nunique([dropna])
Return number of unique elements in the object.
Index.value_counts([normalize, sort, …])
Return a Series containing counts of unique values.