Ruby Convert Object To String Dataframe Groupby