cf.Variable.last_datum

Variable.last_datum

The last element of the data array.

Examples

>>> print f.array
[[1 2 3 4]]
>>> f.last_datum
4
>>> print f.array
[[1 2 3 --]]
>>> f.last_datum
--

Previous topic

cf.Variable.isscalar

Next topic

cf.Variable.mask

This Page