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?