some python functions and conda related environment
n = 50
(tokens
.iloc[:50]
.plot
.bar(figsize=(14, 4), title=f'Most frequent {n} of {len(tokens):,d} tokens'))
sns.despine()
plt.tight_layout();
source
train_result.groupby(level='Category').mean().plot.bar(figsize=(14, 5), rot=0);
pd.melt functi...
shortleg.hashnode.dev1 min read