Specify more than one dimension name in the dim parameter
Pass a callable as an argument that does the reduction for the rest of the dimensions not in dim. This could be numpy.mean for numeric coordinates or a mode function for categorical coordinates.
It should be possible to:
dim
parameterdim
. This could benumpy.mean
for numeric coordinates or a mode function for categorical coordinates.