We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
alphalens.utils - > get_clean_factor_and_forward_returns -> compute_forward_returns 的 mode(days_diffs).mode[0]一直报错。 检查了很多遍输入的数据格式factor和price都是复合规范的,不知道问题出在哪。
请问作者你这边遇到过类似的情况么?
The text was updated successfully, but these errors were encountered:
from scipy.stats import mode
data = [1, 2, 2, 3, 3, 3, 4, 4, 4, 4] result = mode(data) print(result.mode) # 4 print(result.count) # 4
应该改成:mode(days_diffs).mode
Sorry, something went wrong.
changed to mode([days_diffs]).mode can also 真 无语
No branches or pull requests
alphalens.utils - > get_clean_factor_and_forward_returns -> compute_forward_returns 的 mode(days_diffs).mode[0]一直报错。
检查了很多遍输入的数据格式factor和price都是复合规范的,不知道问题出在哪。
请问作者你这边遇到过类似的情况么?
The text was updated successfully, but these errors were encountered: