How To Take User Input In Arraylist In Java Using Lambda In Pandas