Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
TypeError: Empty 'DataFrame' in plotting

I'm using pf.create_returns_tear_sheet(ret, benchmark_rets=ben) and find the TypeError: Empty 'DataFrame': no numeric data to plot

However since the 'Performance statistics Backtest' table can be successfully generated in same session, my data input should be non-empty. Why is there "empty DataFrame" problem then?