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

Method create_array

tables/tests/test_array.py:587–590  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

585 self.size = 1000
586
587 def create_array(self):
588 array = np.arange(self.size, dtype="f8")
589 disk_array = self.h5file.create_array("/", "array", array)
590 return array, disk_array
591
592 def test_read_entire_array(self):
593 array, disk_array = self.create_array()

Callers 15

test_buffer_too_smallMethod · 0.95
test_buffer_too_largeMethod · 0.95
populateFileMethod · 0.45
setUpMethod · 0.45
test00_LeafsMethod · 0.45
setUpMethod · 0.45
setUpMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected