Please provide a minimal, self-contained, and reproducible example:
[Paste code here]
Please provide the full traceback:
Traceback (most recent call last):
File "D:/work/paper/test.py", line 95, in <module>
predictive_factor, pricing, quantiles=5, bins=None, groupby=code_sec, groupby_labels=sec_names)
File "D:\work\air_systeam\venv\lib\site-packages\alphalens\utils.py", line 832, in get_clean_factor_and_forward_returns
cumulative_returns,
File "D:\work\air_systeam\venv\lib\site-packages\alphalens\utils.py", line 263, in compute_forward_returns
if factor_dateindex.tz != prices.index.tz:
AttributeError: 'Int64Index' object has no attribute 'tz'
Problem Description
Please provide a minimal, self-contained, and reproducible example:
Please provide the full traceback:
Please provide any additional information below:
Versions