I have downloaded the data from kaggle. following is the link:- https://www.kaggle.com/datasets/utkarshx27/motor-vehicle-collisions
I am using following command to read the CSV:-
data = spark.read.csv('Data/Motor_Vehicle_Collisions_-_Crashes.csv', inferSchema=True, header=True)
I am getting following schema:-
Please help me in resolving the issue above
Following is the expected output which I got from pandas read_csv command: Expected format