check for null values in rows pyspark

Solutions on MaxInterview for check for null values in rows pyspark by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "check for null values in rows pyspark"
Yasmina
26 Jul 2016
1
2df.filter("state IS NULL AND gender IS NULL").show()
3df.filter(df.state.isNull() & df.gender.isNull()).show()
4