text_plain_output_1.png
import matplotlib.pyplot as plt

import numpy as np # linear algebra

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

import seaborn as sn

df = pd.read_csv('/kaggle/input/creditcardfraud/creditcard.csv')

df.columns

df_missing = df.isnull().sum()
df_missing

df_desc = df.describe(include= np.number).transpose()
missing= ((df.isnull().sum())*100)/(len(df))
df_missing = pd.DataFrame(missing, columns=['missing%'])
pd.concat([df_desc,df_missing],axis=1)

#heatmap
import seaborn as sn
import matplotlib.pyplot as plt

hm=sn.heatmap(df.corr().round(3), cmap="YlGnBu")
plt.show()

df.corr().round(3)