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

Method get_array

bench/lookup_bench.py:119–124  ·  view source on GitHub ↗
(self, start, stop)

Source from the content-addressed store, hash-verified

117 earray.flush()
118
119 def get_array(self, start, stop):
120 arr = np.arange(start, stop, dtype="float")
121 if self.userandom:
122 arr += np.random.normal(0, stop * self.scale, size=stop - start)
123 arr = arr.astype(self.dtype)
124 return arr
125
126 def print_qtime(self, ltimes):
127 ltimes = np.array(ltimes)

Callers 1

fill_arrayMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected