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

filepath_1 = '/kaggle/input/world-happiness-report-2022/World Happiness Report 2022.csv'
data_2022 = pd.read_csv(filepath_1)

data_2022.shape

data_2022.notnull()

data_2022.isnull().sum()

data_2022.dtypes

data_2022 = data_2022.round(2)

data_2022.dtypes

data_2022.corr().style.background_gradient(cmap='coolwarm', axis=None)

data_2022.head(5)