Python Convert Numpy Array Into Dataframe Groupby