I am trying to visualise my data to understand the data skewness. For that purpose, I use the below and get desired output -
To give a little bit of background, initially they were string values which I converted to integer values using
df['owner_team'], mapp = df['owner_team'].factorize()
I am referencing this Pandas doc but couldn't find the exact parameter to set.
labels but didn't help.
Any pointers please.
ps. Using Pandas v0.23.4 and Python v3.6