pandas.Index.to_series — pandas 0.18.1 documentation (original) (raw)

Index.to_series(**kwargs)

Create a Series with both index and values equal to the index keys useful with map for returning an indexer based on an index

Returns: Series : dtype will be based on the type of the Index values.