text_plain_output_1.png image_output_1.png
import matplotlib.pyplot as plt

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

import seaborn as sns

data = pd.read_csv('/kaggle/input/diamonds/diamonds.csv')

data.isnull().sum()

x = sns.PairGrid(data)
x = x.map(plt.scatter)

corr = data.corr()

data1 = data

data1.head()