https://github.com/scikit-learn/scikit-learn/issues/4014 ``` a = np.array(['eggs', 'spam', 'spam', 'eggs', 'spam', 'spam', 'spam', 'spam', 'spam', 'spam', 'spam', 'eggs', 'eggs', 'spam', 'eggs', 'eggs', 'eggs', 'eggs', 'eggs', 'spam'], dtype='|S4') b = np.array(['eggs', 'spam', 'spam', 'eggs', 'eggs', 'spam', 'spam', 'spam', 'spam', 'eggs', 'spam', 'eggs', 'spam', 'eggs', 'spam', 'spam', 'eggs', 'spam', 'spam', 'eggs'], dtype='|S4') print(a == b) print(np.equal(a, b)) ``` ``` [ True True True True False True True True True False True True False False False False True False False False] NotImplemented ```
Activity
argriffing commentedon Dec 27, 2014
Related:
#4470
#3322
#3015
bsipocz commentedon Aug 16, 2019
Duplicate of #4470, please close.
charris commentedon Aug 16, 2019
Thanks @bsipocz .