Update the print_df method