Dapatkan persentase nilai yang hilang pyspark semua kolom
amount_missing_df = df.select([(count(when(isnan(c) | col(c).isNull(), c))/count(lit(1))).alias(c) for c in df.columns])
amount_missing_df.show()
Sooi Versavel