Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Delete rows with low frequency values
- col = 'ap_lo'
- n = 142
- df = df[df.groupby(col)[col].transform('count').ge(n)]
- df['ap_lo'].value_counts()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement