Yes, GroupBy works with any data type, including text data. However, aggregation functions like sum() or mean() won't be applicable to text data.