intent: Python Pandas Identify Duplicated rows with Additional Column
rewritten_intent: identify duplicated rows in columns 'PplNum' and 'RoomNum' with additional column in dataframe `df`
snippet: df.groupby(['PplNum', 'RoomNum']).cumcount() + 1