Skip to content

Commit 28e6758

Browse files
authored
Update numpy_questions.py
1 parent 5e41a58 commit 28e6758

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numpy_questions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ def max_index(X):
5454
n_samples, n_features = forme
5555

5656
index = np.argmax(X)
57-
i = int(index//n_features)
58-
j = int(index%n_features)
57+
i = int(index // n_features)
58+
j = int(index % n_features)
5959

6060
return i, j
6161

0 commit comments

Comments
 (0)