select quantilesExactWeightedArray(0.5)(range(10), range(10))
