def METHOD_NAME(df, schema):
    df_pandas = df.to_pandas_df()
    def values(row, name):
        return [k[name] for k in row]
    result = df_pandas.graphql.execute("""
    {
        df(where: {x: {_eq: 4}}) {
            row { x }
        }
    }
    """