Question
Once the dataset is loaded, what's the shape of the data?
266,855 rows x 20 columns
code for data loader
Code For Transformation Question 2-5
Upon filtering the dataset where the passenger count is greater than 0 and the trip distance is greater than zero, how many rows are left?
139,370 rows
Which of the following creates a new column lpep_pickup_date
by converting lpep_pickup_datetime
to a date?
data['lpep_pickup_date'] = data['lpep_pickup_datetime'].dt.date