Add note describing array copy if discontiguous

This commit is contained in:
Juan Nunez-Iglesias
2013-08-25 11:04:50 +02:00
parent b40ef3ad7d
commit cb28bba6ee
+6
View File
@@ -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],