Can you please tell me how to save and export the output of pyfolio. For example how to export pifolio.show_perf_stats(df) or pifolio.show_worst_drawdown_periods(df). When i try to export pyfolio.export create_returns_tear_sheet report does not include portfolio metrics.
The library including pyfolio.show_perf_stats(df) is designed for notebook display. You could modify a local version to save to csv instead of calling utils.print_table in that function, for instance.
Hello,
Can you please tell me how to save and export the output of pyfolio. For example how to export pifolio.show_perf_stats(df) or pifolio.show_worst_drawdown_periods(df). When i try to export pyfolio.export create_returns_tear_sheet report does not include portfolio metrics.
Thank you in advance, Tigran Apoyan