import numpy as npa=np.array([1,1,2,3,3,4,4])b=np.unique(a,return_counts=True)print(b[0][list(b[1]).index(1)])
Want to ask how the print() in the code is calculated.
b[0][list(b[1]).index(1)] Why is the result 2 and what are the operation steps.
Resource download address :htt
Screenshot Demo screen Pre t