text_html_output_1.png
import numpy as np # linear algebra

import numpy as np # linear algebra

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

import seaborn as sns

data = pd.read_csv('../input/insurance.csv')

data.describe().T

graphs = sns.pairplot(data)
graphs.set()

num_data = data.select_dtypes(include=np.number)
cat_data = data.select_dtypes(exclude=np.number)

encode_cat_data = pd.get_dummies(cat_data)

fin_df = [num_data, encode_cat_data]
fin_data = pd.concat(fin_df, axis=1)

graphs = sns.pairplot(fin_data)
graphs.set()

boxP = sns.boxplot(data = fin_data.age ,orient = 'h' ,color = 'red')

fin_data.corr()