def checklist_finder(frame_list, flight_number, date):
    """This automatically returns the relevant information for a given flight
    number."""
    b = 0
    for frame in frame_list:
        for column in frame.columns:
            if 'Checklist' in column:
                b = 1
                break
        if b != 0:
            break
    checklist_frame = frame
    for column in checklist_frame.columns:
        if 'flight number' in column.lower():
            flight_number_column = column
            break
    flight_number = float(flight_number)
    flight_number_filtered = checklist_frame[checklist_frame[
        flight_number_column] == flight_number]
    index = flight_number_filtered.index.values.tolist()
    times = flight_number_filtered[flight_number_filtered.columns[2]].tolist()
    rows = []
    for a in range(len(index)):
        if str(times[a]).split(' ')[0].replace('-', '') == str(date):
            rows.append(index[a])
    filtered_frame = flight_number_filtered[flight_number_filtered.index.
        isin(rows)]
    return filtered_frame
