numpy.record.ndim#

attribute

record.ndim#

The number of array dimensions.