I installed pydeequ with pip and I'm getting this error when trying to run VerificationSuite:
from pyspark.sql import SparkSession, Row
import pydeequ
from pydeequ.checks import Check, CheckLevel
from pydeequ.verification import VerificationSuite, VerificationResult
spark = SparkSession.builder.master("local").appName("test").getOrCreate()
df = spark.createDataFrame([Row(a="foo", b=1), Row(a="bar", b=2)])
check = Check(spark, CheckLevel.Warning, "test")
result = VerificationSuite(spark).onData(df).addCheck(check.isComplete("a")).run()
Error: TypeError: 'JavaPackage' object is not callable
Using Spark 3.3, Python 3.9, pydeequ 1.3.0
I installed pydeequ with pip and I'm getting this error when trying to run VerificationSuite: