I have a dataframe below where I need to group the records based on seqId,tinId,date and if atleast one of the records acct==20 i need to pull in the records and replace the did