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

Method _get_shape

tables/tests/test_carray.py:92–98  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

90 carray[...] = object
91
92 def _get_shape(self):
93 if self.shape is not None:
94 shape = self.shape
95 else:
96 shape = np.asarray(self.obj).shape
97
98 return shape
99
100 def test00_attributes(self):
101 if self.reopen:

Callers 5

test00_attributesMethod · 0.95
test01_readCArrayMethod · 0.95
test02_getitemCArrayMethod · 0.95
test03_setitemCArrayMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected