pyspark get leftsemi and leftanti join result the same time

前端 未结 0 1609
-上瘾入骨i
-上瘾入骨i 2020-12-29 01:45

I’m trying to split a df into two part:

df_a = df.join(df_id, on=\'id\', how=\'leftsemi\')
df_b = df.join(df_id, on=\'id\', how=\'leftanti\')

相关标签:
回答
  • 消灭零回复
提交回复
热议问题