Open ccssyyy opened 1 year ago
I get the same error, as i understand it "obj.iteritems" has been replaced by "obj.items" in pandas version 2.0.0. Although changing "for stat, value in pref_stats[column].iteritems():" to "for stat, value in pref_stats[column].items():" in plotting.py should fix this error it doesn't. Any clue as to why? how do i fix this ?
when I run this code as following, with pyfolio.plotting.plotting_context(font_scale=1.1): pyfolio.create_full_tear_sheet(returns = DRL_strat, benchmark_rets=baseline_returns, set_context=False)
I meet an error as following,
thanks for your help!!!