drop float columns from dataframe code example Example: python - remove floating in a dataframe my_df['my_var'].astype('int64')