Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- data_c["dropoff_district"] = "default value"
- data_c["distance"] = "default value" #Formed a new column named distance for geocoder
- data_c["time_of_day"] = "default value" #Formed a new column named time of the day for timestamps
- avg_d = data_c.groupby(by = 'distance').sum().reset_index()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement