def replace_value_dataframe(df):
    df = df.replace({True: 1, False: 0})
    df = df.fillna(df.mean())
    if args.drop:
        df = df.drop(columns=[args.drop])
    elif args.only:
        df = df[(['Unnamed: 0', '_id', 'date', 'bug', '__'] + args.only)]
    return df.values
def replace_value_dataframe(df):
    df = df.replace({True: 1, False: 0})
    df = df.fillna(df.mean())
    if args.drop:
        df = df.drop(columns=[args.drop])
    elif args.only:
        df = df[(['Unnamed: 0', '_id', 'date', 'bug', '__'] + args.only)]
    return df.values