How to create multiple png files using styler function

Below is the example script/data I am working with. When trying to create multiple png files using a list, test = [], running this script gives me this error OSError: [Errno 22] Invalid argument: ‘test<pandas.io.formats.style.Styler object at 0x0000025FD890D250>.png’. I think the error is coming from the last loop, how would I change this, dfi.export(df, f’test{i}.png’)… Read More How to create multiple png files using styler function