Ganti semua baris kosong di kolom dengan nilai yang telah Anda identifikasi

df['column'].fillna('the_value', inplace=True)
Inquisitive Ibis