adding np.convert.grouping_to_array to convert groupings to an array
adding docs, better defaults for grouping_to_array