groupBy - What is the 'weight' parameter?