NumPy

numpy.record.shape

attribute

record.shape

tuple of array dimensions