cf
Variable.
shape
A tuple of the data array’s dimension sizes.
See also
data, hasdata, ndim, size
data
hasdata
ndim
size
>>> f.shape (73, 96) >>> f.ndim 2
>>> f.ndim 0 >>> f.shape ()
>>> f.hasdata True >>> len(f.shape) == f.dnim True >>> reduce(lambda x, y: x*y, f.shape, 1) == f.size True
cf.Variable.second
cf.Variable.size
Enter search terms or a module, class or function name.