we might need a third option for the exact calculation, then instead of a boolean `sample_quantiles` we might need a string, something like `method='interpolate'`