pandas.Index.reindex

Index.reindex(target, method=None, level=None, limit=None, tolerance=None)[source]

Create index with target’s values.

Parameters
targetan iterable
Returns
new_indexpd.Index

Resulting index.

indexernp.ndarray or None

Indices of output values in original index.