Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

boxplot for all columns in python

import seaborn as sns

df = pd.DataFrame(data = np.random.random(size=(4,4)), columns = ['A','B','C','D'])

sns.boxplot(x="variable", y="value", data=pd.melt(df))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #boxplot #columns #python
ADD COMMENT
Topic
Name
1+7 =