You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the source, it doesn't seem that this function is really geared toward string comparisons. For example, the code below runs at very different speeds...
records = ['abc']*10000
records2 = ['abc']*10000
# compare
for ii in range(len(records)): records[ii] == records2[ii]
# vs
import numpy as np
np.testing.assert_equal(records, records2)
# or
for ii in range(len(records)): np.testing.assert_equal(records[ii], records2[ii])