MCPcopy
hub / github.com/pandas-dev/pandas / keys

Method keys

pandas/core/series.py:1725–1744  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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(

Callers 15

map_arrayFunction · 0.95
InferDtypeClass · 0.45
_get_errorbarsMethod · 0.45
assert_frame_equalFunction · 0.45
_init_dictMethod · 0.45
to_numpyMethod · 0.45
compute_dict_likeMethod · 0.45
from_dictMethod · 0.45
docstrings.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected