Return alias for index. Returns ------- Index Index of the Series. See Also -------- Series.index : The index (axis labels) of the Series. Examples -------- >>> s = pd.Series([1, 2, 3], index=[0, 1, 2])
(self)
| 1723 | # Misc public methods |
| 1724 | |
| 1725 | def keys(self) -> Index: |
| 1726 | """ |
| 1727 | Return alias for index. |
| 1728 | |
| 1729 | Returns |
| 1730 | ------- |
| 1731 | Index |
| 1732 | Index of the Series. |
| 1733 | |
| 1734 | See Also |
| 1735 | -------- |
| 1736 | Series.index : The index (axis labels) of the Series. |
| 1737 | |
| 1738 | Examples |
| 1739 | -------- |
| 1740 | >>> s = pd.Series([1, 2, 3], index=[0, 1, 2]) |
| 1741 | >>> s.keys() |
| 1742 | Index([0, 1, 2], dtype='int64') |
| 1743 | """ |
| 1744 | return self.index |
| 1745 | |
| 1746 | @overload |
| 1747 | def to_dict( |
no outgoing calls
no test coverage detected