Update 100_Numpy_exercises.md
This commit is contained in:
parent
6f05fefe81
commit
a7fc6a820b
@ -1157,8 +1157,8 @@ _, idx = np.unique(T, return_index=True)
|
|||||||
uZ = Z[idx]
|
uZ = Z[idx]
|
||||||
print(uZ)
|
print(uZ)
|
||||||
|
|
||||||
# Another solution, for NumPy >= 1.13
|
|
||||||
# Author: Andreas Kouzelis
|
# Author: Andreas Kouzelis
|
||||||
|
# For NumPy >= 1.13
|
||||||
uZ = np.unique(Z, axis=0)
|
uZ = np.unique(Z, axis=0)
|
||||||
print(uZ)
|
print(uZ)
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user