<human>:  How to group pandas DataFrame entries by date in a non-unique column
<bot>:.map(lambda x: x.year))

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