[python] Pandas groupby: How to get a union of strings