Question: Below we load tables containing 200,000 weekday Uber rides in the Manila, Philippines, and Boston, Massachusetts metropolitan areas from the Uber Movement project. The sourceid

Below we load tables containing 200,000 weekday Uber rides in the Manila, Philippines, and Boston, Massachusetts metropolitan areas from the Uber Movement project. The sourceid and dstid columns contain codes corresponding to start and end locations of each ride. The hod column contains codes corresponding to the hour of the day the ride took place. The ride time table contains the length of the ride, in minutes. boston = Table.read_table("boston.csv") manila - Table.read_table ("manila.csv") print("Boston") boston.show(4) print("Manila") manila.show(4) Question 1 Produce histograms of all ride times in Boston and in Manila, using the given bins. Please put the code for both of them in the following cell, and put the ride times for Boston first. bins = np.arange(0, 120, 5) Question 2 Set the two variables below to estimates of what percentage of rides are less than 10 minutes in Boston and Manila. Find your estimates by visually assessing the histograms. Your solution should consist of only mathematical operations and numbers. boston_under_10 = manila_under_10 Below we load tables containing 200,000 weekday Uber rides in the Manila, Philippines, and Boston, Massachusetts metropolitan areas from the Uber Movement project. The sourceid and dstid columns contain codes corresponding to start and end locations of each ride. The hod column contains codes corresponding to the hour of the day the ride took place. The ride time table contains the length of the ride, in minutes. boston = Table.read_table("boston.csv") manila - Table.read_table ("manila.csv") print("Boston") boston.show(4) print("Manila") manila.show(4) Question 1 Produce histograms of all ride times in Boston and in Manila, using the given bins. Please put the code for both of them in the following cell, and put the ride times for Boston first. bins = np.arange(0, 120, 5) Question 2 Set the two variables below to estimates of what percentage of rides are less than 10 minutes in Boston and Manila. Find your estimates by visually assessing the histograms. Your solution should consist of only mathematical operations and numbers. boston_under_10 = manila_under_10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
