#!/usr/bin/env python # coding: utf-8 # In[4]: import pandas as pd # from google.cloud import bigquery import seaborn as sns # client = bigquery.Client.from_service_account_json(r'C:\Users\lmeji\OneDrive\Github\Python\BigQuery\fleet-parser-330316-d0e1b6cf4fd1.json') log_weighins = pd.read_excel(r'C:\Users\lmeji\OneDrive\Documents\Tableau\Files for Tableau\Luis - Log.xlsx',sheet_name='WeighIns') get_ipython().run_line_magic('matplotlib', 'inline') # In[5]: try: sns_df = sns.load_dataset('tips') #this is using a builtin dataset called "tips"BytesWarning sns.displot(sns_df[['total_bill']], kde=True, bins=30) except Exception as e: print(e) # In[6]: sns.jointplot(x='total_bill',y='tip',data=sns_df,kind='reg') #kind='hex','reg','scatter','kde' # In[7]: sns.pairplot(sns_df,hue='sex') # palette='pink' # In[8]: sns.rugplot(sns_df['total_bill']) # # Categorical Plots # In[14]: sns.boxplot(x='day',y='total_bill',data=sns_df,hue='smoker') # In[13]: print(sns_df.head(10)) sns.countplot(x='sex',data=sns_df,hue='smoker') # In[22]: sns.violinplot(x='day',y='total_bill',data=sns_df,hue='sex',split=True)