def bucketize(point, bucket_size):
 return (bucket_size * math.floor((point / bucket_size)))

def bucketize ( point , bucket_size ) : return ( bucket_size * math . floor ( ( point / bucket_size ) ) )
floor the point to the next lower multiple of bucket_size .