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

Method _write_coords

tables/array.py:832–836  ·  view source on GitHub ↗

Write `nparr` values in points defined by `coords` coordinates.

(self, coords: np.ndarray, nparr: np.ndarray)

Source from the content-addressed store, hash-verified

830 self._g_write_slice(startl, stepl, countl, nparr)
831
832 def _write_coords(self, coords: np.ndarray, nparr: np.ndarray) -> None:
833 """Write `nparr` values in points defined by `coords` coordinates."""
834 if len(coords) > 0:
835 nparr = self._check_shape(nparr, (len(coords),))
836 self._g_write_coords(coords, nparr)
837
838 def _write_selection(
839 self,

Callers 1

__setitem__Method · 0.95

Calls 1

_check_shapeMethod · 0.95

Tested by

no test coverage detected