resampling non-time-series data,df.groupby('rounded_length').mean().force