質問編集履歴
3
記載ミス
test
CHANGED
File without changes
|
test
CHANGED
@@ -64,7 +64,7 @@
|
|
64
64
|
|
65
65
|
df = pd.read_csv('../sample.csv')
|
66
66
|
|
67
|
-
df.
|
67
|
+
df.value = df.value.astype('float64')
|
68
68
|
|
69
69
|
df.date = pd.to_datetime(df.date)
|
70
70
|
|
@@ -80,11 +80,11 @@
|
|
80
80
|
|
81
81
|
ax1 = fig.add_subplot(211)
|
82
82
|
|
83
|
-
fig = sm.graphics.tsa.plot_acf(df.
|
83
|
+
fig = sm.graphics.tsa.plot_acf(df.value, lags=75, ax=ax1)
|
84
84
|
|
85
85
|
ax2 = fig.add_subplot(212)
|
86
86
|
|
87
|
-
fig = sm.graphics.tsa.plot_pacf(df.
|
87
|
+
fig = sm.graphics.tsa.plot_pacf(df.value, lags=75, ax=ax2)
|
88
88
|
|
89
89
|
|
90
90
|
|
2
記載ミス
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
[時系列解析]自己相関のグラフがうまく出力されない
|
1
|
+
[Python時系列解析]自己相関のグラフがうまく出力されない
|
test
CHANGED
File without changes
|
1
変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -90,7 +90,7 @@
|
|
90
90
|
|
91
91
|
|
92
92
|
|
93
|
-
|
93
|
+
|
94
94
|
|
95
95
|
plt.show()
|
96
96
|
|