image_output_1.png
import pandas as pd

df = pd.read_csv('../input/fifa-world-cup-2022/international_matches.csv')

df.describe().T

num_cols = list(df.select_dtypes(include=['int64', 'float64']).columns)
cat_cols = list(df.select_dtypes(include=['object']).columns)

columns_contains_null = [col for col in df.columns if df[col].isnull().any()]
print(f"Columns contain 'null' values: \n\n{columns_contains_null}")