6

I have a DataFrame like this:

dataframe

I tried these two instructions one after another:

sns.boxplot([dataFrame.mean_qscore_template,dataFrame.mean_qscore_complement,dataFrame.mean_qscore_2d]) sns.boxplot(x = "mean_qscore_template", y= "mean_qscore_complement", hue = "mean_qscore_2d" data = tips) 

I want to get mean_qscore_template, mean_qscore_complement and mean_qscore_2d on the x-axis with the measure on y-axis but it doesn't work.

image

In the documentation they give an example with tips but my dataFrame is not organized f the same way.

1
  • 1
    Please, provide sample code that not working for you Commented Mar 30, 2017 at 10:50

1 Answer 1

12

sns.boxplot(data = dataFrame) will make boxplots for each numeric column of your dataframe.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.