Description
AttributeError Traceback (most recent call last)
Cell In[48], line 1
----> 1 pf.create_full_tear_sheet(carteira["retorno"], benchmark_rets=retorno["^BVSP"])
File c:\Users\arfsj\miniconda3\lib\site-packages\pyfolio\tears.py:201, in create_full_tear_sheet(returns, positions, transactions, market_data, benchmark_rets, slippage, live_start_date, sector_mappings, bayesian, round_trips, estimate_intraday, hide_positions, cone_std, bootstrap, unadjusted_returns, style_factor_panel, sectors, caps, shares_held, volumes, percentile, turnover_denom, set_context, factor_returns, factor_loadings, pos_in_dollars, header_rows, factor_partitions)
195 returns = txn.adjust_returns_for_slippage(returns, positions,
196 transactions, slippage)
198 positions = utils.check_intraday(estimate_intraday, returns,
199 positions, transactions)
--> 201 create_returns_tear_sheet(
202 returns,
203 positions=positions,
204 transactions=transactions,
205 live_start_date=live_start_date,
206 cone_std=cone_std,
207 benchmark_rets=benchmark_rets,
208 bootstrap=bootstrap,
209 turnover_denom=turnover_denom,
210 header_rows=header_rows,
211 set_context=set_context)
213 create_interesting_times_tear_sheet(returns,
214 benchmark_rets=benchmark_rets,
215 set_context=set_context)
217 if positions is not None:
...
6294 ):
6295 return self[name]
-> 6296 return object.getattribute(self, name)
AttributeError: 'Series' object has no attribute 'iteritems'
Output is truncated. View as a scrollable element or open in a text editor. Adjust cell output settings...