Difference makes the DIFFERENCE
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
sns.set(color_codes = True)
x = np.random.normal(size = 1000)
y = np.random.normal(size = 1000)
df = pd.DataFrame({'x':x, 'y':y})
sns.jointplot(x, y, data = df)
sns.jointplot('x', 'y', data=df, kind='kde')
x = np.random.normal(size = 1000)
y = 3 * x + np.random.normal(size = 1000)
df = pd.DataFrame({'x':x, 'y':y})
sns.jointplot('x', 'y', data=df, kind='kde')
d = sns.load_dataset('diamonds')
sns.jointplot('carat', 'price', data=d, kind='kde')
sns.jointplot('carat', 'price', data=d)
sns.jointplot('carat', 'price', data=d.sample(500))
sns.jointplot('x', 'price', data=d.sample(500))
sns.jointplot('x', 'price', data=d.sample(500), kind='kde')
!pip install nbconvert
%shell jupyter nbconvert --to html /content/PadhAIdata_objects_mappings_03.ipynb