def timedelta_to_hours(timedelta_obj):
    """
    Converts a timedelta object into a float indicating the number of hours the timedelta covers

    :param timedelta_obj: The timedelta object
    :return: The number of hours it covers
    """
    return timedelta_obj.days * 24 + timedelta_obj.seconds / 3600