質問編集履歴
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -35,3 +35,33 @@
|
|
35
35
|
|
36
36
|
|
37
37
|
するとエラーになります。これは何故でしょうか?
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
-------------------
|
42
|
+
|
43
|
+
追記
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
エラーコードは以下です。
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
File "/usr/local/lib/python3.6/site-packages/numpy/core/arrayprint.py", line 1464, in array_str
|
52
|
+
|
53
|
+
return array2string(a, max_line_width, precision, suppress_small, ' ', "")
|
54
|
+
|
55
|
+
File "/usr/local/lib/python3.6/site-packages/numpy/core/arrayprint.py", line 630, in array2string
|
56
|
+
|
57
|
+
return _array2string(a, options, separator, prefix)
|
58
|
+
|
59
|
+
File "/usr/local/lib/python3.6/site-packages/numpy/core/arrayprint.py", line 426, in wrapper
|
60
|
+
|
61
|
+
return f(self, *args, **kwargs)
|
62
|
+
|
63
|
+
File "/usr/local/lib/python3.6/site-packages/numpy/core/arrayprint.py", line 445, in _array2string
|
64
|
+
|
65
|
+
if a.size > options['threshold']:
|
66
|
+
|
67
|
+
TypeError: '>' not supported between instances of 'int' and 'str'
|