cf.Data.last_datum

Data.last_datum

The last element of the data array.

Examples

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

Previous topic

cf.Data.isscalar

Next topic

cf.Data.mask

This Page