Jak liczyć wartości zerowe w pandy i zwrócić jako procent
percent_missing = df.isnull().sum() * 100 / len(df)
Tense Termite
percent_missing = df.isnull().sum() * 100 / len(df)
percent_missing = df.isnull().sum() * 100 / len(df)
missing_value_df = pd.DataFrame({'column_name': df.columns,
'percent_missing': percent_missing})
missing_value_df.sort_values('percent_missing', inplace=True)