質問編集履歴
2
誤字訂正
test
CHANGED
File without changes
|
test
CHANGED
@@ -72,10 +72,6 @@
|
|
72
72
|
|
73
73
|
|
74
74
|
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
75
|
df = pd.read_csv('KKtest81.csv',encoding="utf-8",header=0)
|
80
76
|
|
81
77
|
|
@@ -114,16 +110,6 @@
|
|
114
110
|
|
115
111
|
|
116
112
|
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
113
|
```
|
128
114
|
|
129
115
|
|
1
utf-8、ファイル指定、エラーコードを更新しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -68,17 +68,15 @@
|
|
68
68
|
|
69
69
|
import pandas as pd
|
70
70
|
|
71
|
-
|
71
|
+
from matplotlib import pyplot as plt
|
72
|
-
|
73
|
-
import matplotlib.dates as mdates
|
74
|
-
|
75
|
-
import datetime
|
76
72
|
|
77
73
|
|
78
74
|
|
79
75
|
|
80
76
|
|
77
|
+
|
78
|
+
|
81
|
-
df = pd.read_csv('
|
79
|
+
df = pd.read_csv('KKtest81.csv',encoding="utf-8",header=0)
|
82
80
|
|
83
81
|
|
84
82
|
|
@@ -100,7 +98,7 @@
|
|
100
98
|
|
101
99
|
## 気温グラフ
|
102
100
|
|
103
|
-
plt.title('Temperature Aug_01 @K')
|
101
|
+
plt.title('Temperature Aug_01 @Kanagawa')
|
104
102
|
|
105
103
|
plt.xlabel('Time')
|
106
104
|
|
@@ -108,11 +106,19 @@
|
|
108
106
|
|
109
107
|
plt.grid(axis='y',c='gainsboro', zorder=9)
|
110
108
|
|
111
|
-
plt.savefig('
|
109
|
+
plt.savefig('KK8.1.png', bbox_inches="tight")
|
112
110
|
|
113
111
|
|
114
112
|
|
115
113
|
plt.show()
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
116
122
|
|
117
123
|
|
118
124
|
|
@@ -130,18 +136,10 @@
|
|
130
136
|
|
131
137
|
```ここに言語を入力
|
132
138
|
|
133
|
-
|
139
|
+
ValueError: view limit minimum -36854.182916666665 is less than 1 and is an invalid Matplotlib date value. This often happens if you pass a non-datetime value to an axis that has datetime units
|
134
|
-
|
135
|
-
exec(compile(f.read(), filename, 'exec'), namespace)
|
136
140
|
|
137
141
|
|
138
142
|
|
139
|
-
|
143
|
+
<Figure size 432x288 with 1 Axes>
|
140
|
-
|
141
|
-
df = pd.read_csv('C:\Users\AK\Documents\Ktemp\KKtest81.csv',encoding="shift_jis",header=0)
|
142
|
-
|
143
|
-
^
|
144
|
-
|
145
|
-
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
|
146
144
|
|
147
145
|
```
|