Is there a generic way to convert all float64 values in a pandas dataframe to float32 values? But not changing uint16 to float32? I don't know the signal names in advance but just want to have no float64.
Something like:
if float64, then convert to float32, else nothing?
The structure of the data is:
DF.dtypes
Counter uint16
p_007 float64
p_006 float64
p_005 float64
p_004 float64