Update 100_Numpy_exercises.md

This commit is contained in:
kuzand 2018-11-02 15:32:10 +02:00 committed by GitHub
parent 6f05fefe81
commit a7fc6a820b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1157,8 +1157,8 @@ _, idx = np.unique(T, return_index=True)
uZ = Z[idx]
print(uZ)
# Another solution, for NumPy >= 1.13
# Author: Andreas Kouzelis
# For NumPy >= 1.13
uZ = np.unique(Z, axis=0)
print(uZ)
```