image_output_1.png
import pandas as pd

data = pd.read_csv('../input/world-happiness/2019.csv')

correlation_matrix_data = data.corr()

boxplot_data = data.drop(['Overall rank', 'Country or region', 'Score'], axis=1)

props = dict(boxes='darkblue', whiskers='black', medians='red', caps='black')
boxplot_data.plot.box(color=props, patch_artist=True, rot=45, figsize=(10, 5))