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

Method create_array

bench/lookup_bench.py:91–103  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

89 self.close_db()
90
91 def create_array(self):
92 # The filters chosen
93 filters = tb.Filters(complevel=self.docompress, complib=self.complib)
94 atom = tb.Atom.from_kind(self.dtype)
95 self.con.create_earray(
96 self.con.root,
97 "earray",
98 atom,
99 (0,),
100 filters=filters,
101 expectedrows=self.nrows,
102 chunkshape=(self.chunksize,),
103 )
104
105 def fill_array(self):
106 "Fills the array"

Callers 9

create_dbMethod · 0.95
create_nodeMethod · 0.45
copy_childrenMethod · 0.45
set_attrMethod · 0.45
test00_leafsMethod · 0.45
create_junkFunction · 0.45
create_file_arrFunction · 0.45

Calls 2

create_earrayMethod · 0.80
from_kindMethod · 0.45

Tested by 1

create_file_arrFunction · 0.36