Computer scienceData scienceInstrumentsPandasData analysis with pandas

Crosstab in pandas

Inner district trips

Report a typo

Below is the starter code for the New York City taxis dataset:

import pandas as pd
from seaborn import load_dataset

df = load_dataset("taxis")

Based on the pickup_borough and dropoff_borough features, we want to look at the average time for a ride. What is the average time for Manhattan—Manhattan and Brooklyn—Brooklyn rides?

Select one option from the list
___

Create a free account to access the full topic