Index.to_series(self, index=None, name=None)
[source]
Create a Series with both index and values equal to the index keys useful with map for returning an indexer based on an index.
Parameters: |
|
---|---|
Returns: |
|
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.25.0/reference/api/pandas.Index.to_series.html