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

Method _ixs

pandas/core/series.py:923–935  ·  view source on GitHub ↗

Return the i-th value or values in the Series by location. Parameters ---------- i : int Returns ------- scalar

(self, i: int, axis: AxisInt = 0)

Source from the content-addressed store, hash-verified

921 # Indexing Methods
922
923 def _ixs(self, i: int, axis: AxisInt = 0) -> Any:
924 """
925 Return the i-th value or values in the Series by location.
926
927 Parameters
928 ----------
929 i : int
930
931 Returns
932 -------
933 scalar
934 """
935 return self._values[i]
936
937 def _slice(self, slobj: slice, axis: AxisInt = 0) -> Series:
938 # axis kwarg is retained for compat with NDFrame method

Callers 7

assert_frame_equalFunction · 0.45
get_objFunction · 0.45
compute_dict_likeMethod · 0.45
series_generatorMethod · 0.45
series_generatorMethod · 0.45
_getitem_axisMethod · 0.45
_maybe_squeeze_argMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected