I am looking for a way to find difference in values, in columns of two DataFrame. For example:
from pyspark.sql impo
Use the subtract function
subtract
df_a.select('id').subtract(df_b.select('id')).collect()