I want to export a series of DFs as .png When I run the code i receive this error:
ValueError: Your Styled DataFrame has more than 100 rows and will produce a huge image file, possibly causing your computer to crash. Override this error by explicitly setting max_rows
to -1 for all columns. Styled DataFrames are unable to select a subset of rows or columns and therefore do not work with the max_rows
and max_cols
parameters
How can I overcome this problem? I tried to insert "pd.set_option('display.max_rows', 500)", but it still doesn't work.