cf.Field.last_datum

Field.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.Field.isscalar

Next topic

cf.Field.mask

This Page