質問編集履歴
3
誤記
test
CHANGED
File without changes
|
test
CHANGED
@@ -30,11 +30,11 @@
|
|
30
30
|
|
31
31
|
```python
|
32
32
|
|
33
|
-
[['AAA' 'a111' '
|
33
|
+
[['AAA' 'a111' '666a']
|
34
34
|
|
35
|
-
['AAA' 'a111' '
|
35
|
+
['AAA' 'a111' '555a']
|
36
36
|
|
37
|
-
['BBB' 'a111' '
|
37
|
+
['BBB' 'a111' '555a']]
|
38
38
|
|
39
39
|
```
|
40
40
|
|
@@ -70,11 +70,11 @@
|
|
70
70
|
|
71
71
|
```python
|
72
72
|
|
73
|
-
data = [['AAA', 'a111', '
|
73
|
+
data = [['AAA', 'a111', '666a'],
|
74
74
|
|
75
|
-
['AAA', 'a111', '
|
75
|
+
['AAA', 'a111', '555a'],
|
76
76
|
|
77
|
-
['BBB', 'a111', '
|
77
|
+
['BBB', 'a111', '555a']]
|
78
78
|
|
79
79
|
```
|
80
80
|
|
@@ -86,7 +86,7 @@
|
|
86
86
|
|
87
87
|
data.sort()
|
88
88
|
|
89
|
-
[['AAA', 'a111', '
|
89
|
+
[['AAA', 'a111', '555a'], ['AAA', 'a111', '666a'], ['BBB', 'a111', '555a']]
|
90
90
|
|
91
91
|
```
|
92
92
|
|
2
誤記
test
CHANGED
File without changes
|
test
CHANGED
@@ -60,6 +60,14 @@
|
|
60
60
|
|
61
61
|
|
62
62
|
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
63
71
|
```python
|
64
72
|
|
65
73
|
data = [['AAA', 'a111', 'b666'],
|
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -93,3 +93,13 @@
|
|
93
93
|
またその方法をご教示いただけると助かります。
|
94
94
|
|
95
95
|
よろしくお願いいたします。
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
私の過去一個前と2個前の質問に通ずる部分なのですが、
|
102
|
+
|
103
|
+
data[np.argsort(data[:,2])]で並び替えれば良いという回答は避けていただけたら
|
104
|
+
|
105
|
+
幸いです。
|