Small fix np.array np.unique(votes,return_counts=True)
€8-30 EUR
Ditutup
Disiarkan lebih dari 4 tahun yang lalu
€8-30 EUR
Dibayar semasa penghantaran
print(" distribution of votes ",[login to view URL](votes,return_counts=True))
gives me distribution of votes (array([0, 1]), array([146, 65]))
Now I want:
if first number [0] > 0 and number b [] < 0:
return -1
It should be this format:
if hist[0] > 0 and hist[0] < 0:
return -1
Can you fix it into the right format?
Hi,
I have good experiences developing code in Python Programming language for scientific application and Machine learning projects.
I don't understand your problem . could your please describe more?
Thanks