python-3.x - 无法理解输出,代码运行正常:
问题描述
我无法理解输出:
无法理解错误
from statsmodels.tsa.vector_ar.vecm import coint_johansen
import pandas as pd
import matplotlib.pyplot as plt
df_x = pd.read_csv('pfc2.csv',index_col=0)
df_y = pd.read_csv('REC2.csv',index_col=0)
dy = pd.DataFrame({'x':df_x['Close'],'y':df_y['Close']})
coint_johansen(dy ,0, 1)
print(coint_johansen(dy ,0, 1))
解决方案
result = coint_johansen(dy ,0, 1)
result.eig, result.lr1
你应该像上面的代码一样阅读。
推荐阅读
- javascript - axios 无法提交 Javascript 数组
- c++ - 使用 C++ 从文件中将值输入到数组中
- node.js - 502, Bad Gateway, 我已经使用 express-http-proxy 设置了 wordpress rest api
- javascript - 填写表格时如何使进度条工作
- c# - URL 重写中间件 ASP.Net Core 2.0
- scala - 将 IntelliJ 指向已安装的 Scala
- python - 在 Featuretools 中使用多个训练窗口计算相同的特征
- python - 如何在python中的方法内模拟导入
- java - 无法使用 java 8 144 在 glassfish 4 上显示控制台并使用 eclipse
- php - echo PHP 中的 div 类