回答編集履歴

2

2020/09/19 09:09

投稿

退会済みユーザー
test CHANGED
@@ -4,6 +4,6 @@
4
4
 
5
5
  arr_list = np.asarray([-1.0, -1.0, -1.0, -1.0, 0.8803191489361524, 2.3209999999998416, 2.3095499999998594, 2.320285714285802, 2.308714285714373, 2.322918032786845, 2.3114262295081716, -1.0, -1.0])
6
6
 
7
- print(np.min(arr_list[0<arr_list]))
7
+ print(np.min(arr_list[0<=arr_list]))
8
8
 
9
9
  ```

1

2020/09/19 09:09

投稿

退会済みユーザー
test CHANGED
@@ -4,6 +4,6 @@
4
4
 
5
5
  arr_list = np.asarray([-1.0, -1.0, -1.0, -1.0, 0.8803191489361524, 2.3209999999998416, 2.3095499999998594, 2.320285714285802, 2.308714285714373, 2.322918032786845, 2.3114262295081716, -1.0, -1.0])
6
6
 
7
- print(arr_list[0<arr_list])
7
+ print(np.min(arr_list[0<arr_list]))
8
8
 
9
9
  ```