def load_data(nrows):
    """Load `nrows` rows of Uber ride pickup data."""
    data: pd.DataFrame = pd.read_csv(URL, nrows=nrows)  # type: ignore
    date_time = pd.to_datetime(data["Date/Time"])  # type: ignore
    data["hour"] = date_time.dt.hour
    data["minute"] = date_time.dt.minute
    return data