Untitled

mail@pastecode.io avatar
unknown
python
a year ago
197 B
3
Indexable
Never
df = data. drop_duplicates(['user'])
#pd.DataFrame(df. groupby(['type_profession', 'cohort'])['user']. count()). head(20)
pd.DataFrame(df. groupby(['type_profession'])['user']. count()). head(20)