mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-04 13:00:57 +08:00
Add note describing array copy if discontiguous
This commit is contained in:
1 parent
b40ef3ad7d
commit
cb28bba6ee
1 file changed
+6
@@ -18,6 +18,12 @@ def unique_rows(ar):
|
||||
------
|
||||
ValueError : if `ar` is not two-dimensional.
|
||||
|
||||
Notes
|
||||
-----
|
||||
The function will generate a copy of `ar` if it is not
|
||||
C-contiguous, which will negatively affect performance for large
|
||||
input arrays.
|
||||
|
||||
Examples
|
||||
--------
|
||||
>>> ar = np.array([[1, 0, 1],
|
||||
|
||||
Reference in new issue
Block a user