I have tried to classify numbers in python from 0.0 to 1.0. However, all numbers are getting the else condition. I need each number to get the appropriate condition, but even when the number is 0.3 or 0.2 is getting the last bin. What I am doing wrong?
with open (file_name) as csvfile:
readCSV = csv.reader (csvfile, delimiter=',')
for row in readCSV:
for num in range(1,2):
#Include in 10 bins