>>> import numpy as np ... rng = np.random.default_rng() ... arr = rng.random(10000) ... s1 = set(arr) ... s2 = set(sorted(arr)) ... print(s1 == s2) ... print(s1.pop() == s2.pop()) True False
user14520680
user14520680
user14520680
user14520680
user14520680