[python] pyspark isnull 개수
from pyspark.sql import functions as f df.select([f.count(f.when(f.isnull(c),c)).alias(c) for c,t in df.dtypes if t not in ('timestamp','boolean','date')]).show() df.select([f.count(f.when(f.isnull(c),c)).alias(c) for c,t in df.columns]).show()