NumPy

numpy.record.real

attribute

record.real

real part of scalar