Hi guys, since its so quiet here
Hi guys, since its so quiet here
(OP)
Hi guys,
since its so quiet here ,let me throw in another easy one. The problem is, that I'm so used toSQL and using "Where"..So here goes..
df['artist'].value_counts().reset_index()
gives me a select count...
now how I can add a condition to only list those above a certain number, say 3?
I tried this...
df.groupby('artist').count()>3
..which just gave me my list with true and false on each column.
Thanks in advance
since its so quiet here ,let me throw in another easy one. The problem is, that I'm so used toSQL and using "Where"..So here goes..
df['artist'].value_counts().reset_index()
gives me a select count...
now how I can add a condition to only list those above a certain number, say 3?
I tried this...
df.groupby('artist').count()>3
..which just gave me my list with true and false on each column.
Thanks in advance
RE: Hi guys, since its so quiet here
RE: Hi guys, since its so quiet here
RE: Hi guys, since its so quiet here
it would be helpful if you could post how your data looks like.
RE: Hi guys, since its so quiet here
first I created this data frame from a list of items
CODE
Now I can get a list of items which occurs more than once in these steps:
CODE