You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
pred_autocorr raises AttributeError for DataFrame predictions #2371
pred_autocorr advertises DataFrame input by selecting its first column, but every non-empty DataFrame raises AttributeError: 'Series' object has no attribute 'columns' before the calculation starts.
In qlib/contrib/eva/alpha.py, the DataFrame is converted to a Series with pred = pred.iloc[:, 0]. The following warning then evaluates pred.columns, which no longer exists.
Activity