Primary competition visual

Uber Movement SANRAL Cape Town Challenge

Helping South Africa
$5 500 USD
Challenge completed over 5 years ago
Prediction
Anomaly Detection
Forecast
853 joined
133 active
Starti
Oct 11, 19
Closei
Feb 09, 20
Reveali
Feb 10, 20
train.csv on uber movement missing information
Data · 23 Oct 2019, 13:21 · 2

Hello, I would like to find out if the isAccident and isPedestrian columns are available on the train.csv file or I have to first find a way to build them into the file?

Discussion 2 answers

They are available in the file, and are based on the 'Cause' and 'Subcause' columns.

isAccident: train.Cause.isin(['Accident', 'Crash'])

isPedestrian: train.Subcause.isin(['With A Pedestrian'])

I think they're there mostly for convenience - for example if you wanted to see what percentage of incidents were accidents for a given segment. Hope that helps!

23 Oct 2019, 14:59
Upvotes 0

Hello,

@Johnowhitaker using the Cause and Subcause columns helped in appending the 2 coloumns to the dataframe. Thank you