SyntaxFix
Write A Post
Hire A Developer
Questions
faster way (without pyspark.sql.functions)
pyspark.sql.functions
df.filter((df.d<5)&((df.col1 != df.col3) | (df.col2 != df.col4) & (df.col1 ==df.col3)))\ .show()