We all now the question: Change data type of columns in Pandas where it is really nice explained how to change the data type of a column, but what if I have a dataframe df with the following df.dtypes:
A  object
B   int64
C   int32
D   object
E   int64
F  float32
How could I change this without explicity mention the column names that all int64 types are converted to int32 types?
So the desired outcome is:
A  object
B   int32
C   int32
D   object
E   int32
F  float32
 
     
     
    