def str2boolean(df, col):
    """
    Convert string 'True'/'False' into boolean
    :param df: DataFrame
    :param col: column
    :return: DataFrame
    """
    df[col] = df[col].apply(lambda x: True if x == 'True' else False)
    return df