pourcentage de Pyspark Valeurs manquantes

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