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

df = pd.read_csv('/kaggle/input/thailand-fatal-road-accident/thailand_fatal_raod_accident_2011_2022.csv')

print(f'Chech Datatype\n{df.dtypes}')
print('\nShape check')
print(df.shape)
print()
print(df.isnull().sum())
df['official_death_date'] = pd.to_datetime(df['official_death_date'])