I have a dataframe with some custom types in one of the columns I’d like to groupby. This doesn’t seem to work correctly as the groupby seems to consider objects that are == and have identical hash to be distinct. What function does groupby use to decide whether elements are distinct?
I’m sure I’ll find it in the source code eventually, but haven’t so far…