import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
sns.set(color_codes =True)
%matplotlib inline
Sales = pd.read_excel("F:/2019 GB Python/Regression.xlsx")
Sales.head()
sns.distplot(Sales.Sales, kde=False)
sns.scatterplot(y=Sales.Sales, x=Sales.Enquires)
sns.pairplot(Sales, vars = ['Sales', 'Enquires'])
sns.pairplot(Sales, vars = ['Sales', 'Enquires', 'LaborDeployed','AvgResponseTime', 'NoofStockOuts'])
cor = Sales.corr(method='pearson')
cor
sns.heatmap(cor)