def extract_column(table, index):
    """
    Returns the values of a specific column in a table given the column index
    """
    try:
        return [j[index] for j in table]
    except IndexError:
        raise IndexError("Index outside of table")