def add_trip_duration_in_hours(df):
    """Adding new variable for trip duration in hours."""

    print("adding trip duration in hours")
    df['trip_duration_hours'] = df.trip_duration_minutes / 60
    
    return df