def test_create_dataframe(data_frame, list_of_col):
    """
    Testing whether a dataframe satisfy the following conditions:
    The DataFrame contains only the columns that you specified as the second argument.
    The values in each column have the same python type
    There are at least 10 rows in the DataFrame.
    Input: pandas dataframe, a list of column names
    Output: True or False
    """
    temp = list(data_frame)
    for i in temp:
        if i not in list_of_col:
            return False
    if len(data_frame) < 10:
        return False
    for i in range(len(temp)):
        prev_type = type(data_frame[temp[i]][0])
        for j in range(1, len(data_frame)):
            if type(data_frame[temp[i]][j]) != prev_type:
                return False
            prev_type = type(data_frame[temp[i]][j])
    return True