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
  • 305,283
  • 89
  • 921
  • 912
Ohad Gerrassy
  • 116
  • 11

0 Answers0