2

I am working on databricks project and trying to count for each column how many nulls there are and group it by specific context (sub_area)

nulls can be in a form of : None, NaN and NA. i know there are functions such as isnan under

from pyspark.sql.functions import col, count, isnan,

how do i count the number of NA value in each column, or a given specific value?

zero323
  • 322,348
  • 103
  • 959
  • 935
Ohad Gerrassy
  • 116
  • 11

0 Answers0