Fixes digitize

Add digitize() to fixes for old bumpy versions @agramfort @Eric89GXL
don't you mean the opposite?

if x.dtype.kind == 'i' or bins.dtype.kind == 'i':