質問編集履歴
2
print(df)の中身
test
CHANGED
File without changes
|
test
CHANGED
@@ -125,3 +125,133 @@
|
|
125
125
|
```
|
126
126
|
|
127
127
|
![イメージ説明](932c4f5c9ca23b8a4f4597d9e0c24c54.png)
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
```print(df)
|
132
|
+
|
133
|
+
Diameter (um) name
|
134
|
+
|
135
|
+
50 30 A-1
|
136
|
+
|
137
|
+
60 20 A-1
|
138
|
+
|
139
|
+
70 20 A-1
|
140
|
+
|
141
|
+
80 20 A-1
|
142
|
+
|
143
|
+
90 19 A-1
|
144
|
+
|
145
|
+
100 13 A-1
|
146
|
+
|
147
|
+
110 16 A-1
|
148
|
+
|
149
|
+
120 15 A-1
|
150
|
+
|
151
|
+
130 22 A-1
|
152
|
+
|
153
|
+
140 25 A-1
|
154
|
+
|
155
|
+
150 26 A-1
|
156
|
+
|
157
|
+
160 17 A-1
|
158
|
+
|
159
|
+
170 10 A-1
|
160
|
+
|
161
|
+
180 2 A-1
|
162
|
+
|
163
|
+
190 2 A-1
|
164
|
+
|
165
|
+
200 1 A-1
|
166
|
+
|
167
|
+
210 0 A-1
|
168
|
+
|
169
|
+
220 0 A-1
|
170
|
+
|
171
|
+
230 0 A-1
|
172
|
+
|
173
|
+
240 0 A-1
|
174
|
+
|
175
|
+
Diameter (um) name
|
176
|
+
|
177
|
+
50 30 A-1
|
178
|
+
|
179
|
+
60 20 A-1
|
180
|
+
|
181
|
+
70 20 A-1
|
182
|
+
|
183
|
+
80 20 A-1
|
184
|
+
|
185
|
+
90 19 A-1
|
186
|
+
|
187
|
+
100 13 A-1
|
188
|
+
|
189
|
+
110 16 A-1
|
190
|
+
|
191
|
+
120 15 A-1
|
192
|
+
|
193
|
+
130 22 A-1
|
194
|
+
|
195
|
+
140 25 A-1
|
196
|
+
|
197
|
+
150 26 A-1
|
198
|
+
|
199
|
+
160 17 A-1
|
200
|
+
|
201
|
+
170 10 A-1
|
202
|
+
|
203
|
+
180 2 A-1
|
204
|
+
|
205
|
+
190 2 A-1
|
206
|
+
|
207
|
+
200 1 A-1
|
208
|
+
|
209
|
+
210 0 A-1
|
210
|
+
|
211
|
+
220 0 A-1
|
212
|
+
|
213
|
+
230 0 A-1
|
214
|
+
|
215
|
+
240 0 A-1
|
216
|
+
|
217
|
+
50 20 B-5
|
218
|
+
|
219
|
+
60 9 B-5
|
220
|
+
|
221
|
+
70 3 B-5
|
222
|
+
|
223
|
+
80 3 B-5
|
224
|
+
|
225
|
+
90 5 B-5
|
226
|
+
|
227
|
+
100 9 B-5
|
228
|
+
|
229
|
+
110 8 B-5
|
230
|
+
|
231
|
+
120 5 B-5
|
232
|
+
|
233
|
+
130 7 B-5
|
234
|
+
|
235
|
+
140 3 B-5
|
236
|
+
|
237
|
+
150 5 B-5
|
238
|
+
|
239
|
+
160 18 B-5
|
240
|
+
|
241
|
+
170 41 B-5
|
242
|
+
|
243
|
+
180 79 B-5
|
244
|
+
|
245
|
+
190 86 B-5
|
246
|
+
|
247
|
+
200 100 B-5
|
248
|
+
|
249
|
+
210 65 B-5
|
250
|
+
|
251
|
+
220 39 B-5
|
252
|
+
|
253
|
+
230 21 B-5
|
254
|
+
|
255
|
+
240 7 B-5
|
256
|
+
|
257
|
+
```
|
1
エラー部分を全文に訂正いたしました
test
CHANGED
File without changes
|
test
CHANGED
@@ -94,7 +94,33 @@
|
|
94
94
|
|
95
95
|
```エラー
|
96
96
|
|
97
|
+
C:\Users\user\PycharmProjects\pythonProject1\venv\Scripts\python.exe C:/Users/user/PycharmProjects/pythonProject1/proto2.py
|
98
|
+
|
99
|
+
Traceback (most recent call last):
|
100
|
+
|
101
|
+
File "C:\Users\user\PycharmProjects\pythonProject1\proto2.py", line 31, in <module>
|
102
|
+
|
103
|
+
plt.ylim(0, max_value)
|
104
|
+
|
105
|
+
File "C:\Users\user\PycharmProjects\pythonProject1\venv\lib\site-packages\matplotlib\pyplot.py", line 1757, in ylim
|
106
|
+
|
107
|
+
ret = ax.set_ylim(*args, **kwargs)
|
108
|
+
|
109
|
+
File "C:\Users\user\PycharmProjects\pythonProject1\venv\lib\site-packages\matplotlib\axes\_base.py", line 3876, in set_ylim
|
110
|
+
|
111
|
+
if bottom == top:
|
112
|
+
|
113
|
+
File "C:\Users\user\PycharmProjects\pythonProject1\venv\lib\site-packages\pandas\core\generic.py", line 1442, in __nonzero__
|
114
|
+
|
115
|
+
raise ValueError(
|
116
|
+
|
97
117
|
ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
Process finished with exit code 1
|
122
|
+
|
123
|
+
|
98
124
|
|
99
125
|
```
|
100
126
|
|