MCPcopy Create free account
hub / github.com/PyTables/PyTables / read_indices

Method read_indices

tables/index.py:2041–2053  ·  view source on GitHub ↗

Return the indices values of index in the specified range. The meaning of the start, stop and step arguments is the same as in :meth:`Table.read_sorted`.

(
        self,
        start: int | None = None,
        stop: int | None = None,
        step: int | None = None,
    )

Source from the content-addressed store, hash-verified

2039 return self.read_sorted_indices("sorted", start, stop, step)
2040
2041 def read_indices(
2042 self,
2043 start: int | None = None,
2044 stop: int | None = None,
2045 step: int | None = None,
2046 ) -> np.ndarray:
2047 """Return the indices values of index in the specified range.
2048
2049 The meaning of the start, stop and step arguments is the same as in
2050 :meth:`Table.read_sorted`.
2051
2052 """
2053 return self.read_sorted_indices("indices", start, stop, step)
2054
2055 def _process_range(
2056 self, start: int | None, stop: int | None, step: int | None

Callers 7

__getitem__Method · 0.95
test02_readIndices1Method · 0.80
test02_readIndices2Method · 0.80
test02_readIndices3Method · 0.80
test02_readIndices4Method · 0.80
test02_readIndices5Method · 0.80
test02_readIndices6Method · 0.80

Calls 1

read_sorted_indicesMethod · 0.95

Tested by 6

test02_readIndices1Method · 0.64
test02_readIndices2Method · 0.64
test02_readIndices3Method · 0.64
test02_readIndices4Method · 0.64
test02_readIndices5Method · 0.64
test02_readIndices6Method · 0.64