<human>:  How do I get a list of all the duplicate items using pandas in python?
<bot>: Here is some code to get a list of all the duplicate items in dataframe `df` using pandas

pd.concat(g for _, g in df.groupby('ID') if len(g) > 1)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.