find the percentage of missing values in pandas

PHOTO EMBED

Tue Jan 11 2022 03:01:00 GMT+0000 (UTC)

Saved by @Bambibo9799 ##pandas ##python

percent_missing = df.isnull().sum() * 100 / len(df)
missing_value_df = pd.DataFrame({'column_name': df.columns,
                                 'percent_missing': percent_missing})
content_copyCOPY

gunakan untuk mencari presentase missing values pada pandas