C1 W1 Assignment Exercice 4 Distribution Percentage

I wonder if there is a typo in the df_distribution_pct.columns assignment.
The exercise shows :
df_distribution_pct.columns=['-1', '0', '1']
Because the sentiment was sorted in Desc order , I believe it should be
df_distribution_pct.columns=['1', '0', '-1']

Please correct me if I’m wrong

Hello @samadatoro it’s typo indeed. It should be [‘1’, ‘0’, ‘-1’].
I’ll report it.

kind regards,

1 Like