only write the max value of a row in a dataframe row code example Example: display Max rows in a pandas dataframe pandas.set_option('display.max_rows', None)