Skip to content

Conversation

Nurxat21
Copy link

No description provided.

@Nurxat21
Copy link
Author

New Pandas for columns need to use items().

@@ -645,7 +645,7 @@ def show_perf_stats(returns, factor_returns=None, positions=None,
perf_stats = pd.DataFrame(perf_stats_all, columns=['Backtest'])

for column in perf_stats.columns:
for stat, value in perf_stats[column].iteritems():
for stat, value in perf_stats[column].items():
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iteritems() cannot use in new Pandas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant