import numpy as np
import pandas as pd
CS=pd.read_excel("F:/2019 GB Python/Descstats.xlsx") # For Windows users hash has to be like this
CS.head()
import seaborn as sns #importing libraries that are most useful
import matplotlib.pyplot as plt
sns.set(color_codes =True)
%matplotlib inline
sns.boxplot(CS['Sample 1'])
sns.boxplot(CS['Sample 1'], orient = "v")
bplot=sns.boxplot(CS['Sample 1'], orient = "v")
plot_file_name = "Boxplot.jpg"
bplot.figure.savefig(plot_file_name, format = 'jpeg', dpi = 100)
bplot=sns.boxplot(CS['Sample 1'], orient = "v", width = 0.3)
b=CS[['Sample 1', 'Sample 2']]
sns.boxplot(x='variable', y = 'value', data = pd.melt(b), width=0.3)
sns.boxplot(x=CS['Group'], y=CS['Sample 1'])
sns.boxplot(x=CS['Group'], y=CS['Sample 2'])