MCPcopy Index your code
hub / github.com/PyTables/PyTables / _read_coordinates

Method _read_coordinates

tables/vlarray.py:847–852  ·  view source on GitHub ↗

Read rows specified in `coords`.

(self, coords: Sequence[int])

Source from the content-addressed store, hash-verified

845 return outlistarr
846
847 def _read_coordinates(self, coords: Sequence[int]) -> list[list]:
848 """Read rows specified in `coords`."""
849 rows = []
850 for coord in coords:
851 rows.append(self.read(idx2long(coord), idx2long(coord) + 1, 1)[0])
852 return rows
853
854 def _g_copy_with_stats(
855 self,

Callers 1

__getitem__Method · 0.95

Calls 3

readMethod · 0.95
idx2longFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected