pydata-book
pydata-book copied to clipboard
The problem of chapter A.6
The sentence "where 1 would mean the bucket [0, 100)" is wrong.
It shoule be "where 1 would mean the bucket (0, 100]"
Because bins.searchsorted(np.array([100]))
return 1