I'm trying to get the ID of occurrence counts below 20, any ideas?
ID
occurrence
df.groupby(['ID']).occurrence.count()
I tried adding a new column as the count but all values are NaN Thanks
NaN
2.1m questions
2.1m answers
60 comments
57.0k users