mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-05 07:22:17 +08:00
Add note describing array copy if discontiguous
This commit is contained in:
@@ -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