How To Use Pandas Groupby Images