DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
percentage plot of categorical variable in python woth hue
sns.barplot(x='group', y='Values', data=df, estimator=lambda x: sum(x==0)*100.0/len(x))
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#percentage
#plot
#categorical
#variable
#python
#woth
#hue
ADD COMMENT
Topic
COMMENT
Name
1+5 =
Submit