CategoricalIndex.get_duplicates()

CategoricalIndex.get_duplicates() [source]

CategoricalIndex.format()

CategoricalIndex.format(name=False, formatter=None, **kwargs) [source] Render a string representation of the Index

CategoricalIndex.flags

CategoricalIndex.flags

CategoricalIndex.factorize()

CategoricalIndex.factorize(sort=False, na_sentinel=-1) [source] Encode the object as an enumerated type or categorical variable Parameters: sort : boolean, default False Sort by values na_sentinel: int, default -1 Value to mark ?not found? Returns: labels : the indexer to the original array uniques : the unique Index

CategoricalIndex.fillna()

CategoricalIndex.fillna(value, downcast=None) [source] Fill NA/NaN values with the specified value Parameters: value : scalar Scalar value to use to fill holes (e.g. 0). This value cannot be a list-likes. downcast : dict, default is None a dict of item->dtype of what to downcast if possible, or the string ?infer? which will try to downcast to an appropriate equal type (e.g. float64 to int64 if possible) Returns: filled : %(klass)s

CategoricalIndex.dtype_str

CategoricalIndex.dtype_str = None

CategoricalIndex.duplicated()

CategoricalIndex.duplicated(*args, **kwargs) [source] Return boolean np.ndarray denoting duplicate values Parameters: keep : {?first?, ?last?, False}, default ?first? first : Mark duplicates as True except for the first occurrence. last : Mark duplicates as True except for the last occurrence. False : Mark all duplicates as True. take_last : deprecated Returns: duplicated : np.ndarray

CategoricalIndex.equals()

CategoricalIndex.equals(other) [source] Determines if two CategorialIndex objects contain the same elements.

CategoricalIndex.dropna()

CategoricalIndex.dropna(how='any') [source] Return Index without NA/NaN values Parameters: how : {?any?, ?all?}, default ?any? If the Index is a MultiIndex, drop the value when any or all levels are NaN. Returns: valid : Index

CategoricalIndex.drop_duplicates()

CategoricalIndex.drop_duplicates(*args, **kwargs) [source] Return Index with duplicate values removed Parameters: keep : {?first?, ?last?, False}, default ?first? first : Drop duplicates except for the first occurrence. last : Drop duplicates except for the last occurrence. False : Drop all duplicates. take_last : deprecated Returns: deduplicated : Index