A new delivery table may have unfamiliar column names. Read its labels from the table instead of returning the names in the example.
For the first function, use .index.tolist() and .columns.tolist(). Python can return both lists as a tuple: return first_list, second_list.
For the second function, table.dtypes is itself a Series, indexed by column name. Select the requested entry with .loc[column] to get its dtype object. Return that object, not a string describing it. We will select columns directly in a later lesson.
table_labels(table) return (row_labels, column_names), with both sets of labels converted to lists.column_dtype(table, column) return the dtype object for the named column.Edit main.py and Run after each function. The example's labels are (['morning'], ['stall', 'sold']), and sold has an integer dtype. Submit checks other labels and column types.