CategoricalIndex.reindex()

pandas.CategoricalIndex.reindex

CategoricalIndex.reindex(target, method=None, level=None, limit=None, tolerance=None)

Create index with target’s values (move/add/delete values as necessary)

Returns:

new_index : pd.Index

Resulting index

indexer : np.ndarray or None

Indices of output values in original index

© 2011–2012 Lambda Foundry, Inc. and PyData Development Team
© 2008–2011 AQR Capital Management, LLC
© 2008–2014 the pandas development team
Lic