diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-08-14 20:01:12 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-08-14 20:01:12 +0000 |
commit | c70b3c6fe0e073fc70eb8b424c30ca6c5c01ea04 (patch) | |
tree | fcf9794705f1ae3397187cfa6bbede8df48cee79 /numpy/core/numeric.py | |
parent | 779dc154b799a6660f7f60ef50c09fc445329999 (diff) | |
download | numpy-c70b3c6fe0e073fc70eb8b424c30ca6c5c01ea04.tar.gz |
Strip characters from chararrays during comparision
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r-- | numpy/core/numeric.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py index d4537f435..8099a1273 100644 --- a/numpy/core/numeric.py +++ b/numpy/core/numeric.py @@ -14,7 +14,7 @@ __all__ = ['newaxis', 'ndarray', 'flatiter', 'ufunc', 'fromiter', 'array_equal', 'array_equiv', 'indices', 'fromfunction', 'load', 'loads', 'isscalar', 'binary_repr', 'base_repr', - 'ones', 'identity', 'allclose', + 'ones', 'identity', 'allclose', 'compare_chararrays', 'seterr', 'geterr', 'setbufsize', 'getbufsize', 'seterrcall', 'geterrcall', 'flatnonzero', 'Inf', 'inf', 'infty', 'Infinity', @@ -119,6 +119,7 @@ fastCopyAndTranspose = multiarray._fastCopyAndTranspose set_numeric_ops = multiarray.set_numeric_ops can_cast = multiarray.can_cast lexsort = multiarray.lexsort +compare_chararrays = multiarray.compare_chararrays def asarray(a, dtype=None, order=None): |