Java Program Using Array Of Object To String Pandas Group By Values