Comparing two dataframes

SiddarthaPaturu
New Contributor II

How can we compare two data frames using pyspark

I need to validate my output with another dataset