convert pandas series to numpy array in FD_bins