wesm / pydata-book

Materials and IPython notebooks for "Python for Data Analysis" by Wes McKinney, published by O'Reilly Media

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The problem of chapter A.6

MaxforCherubim opened this issue · comments

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