Python - upuść wiersz, jeśli dwie kolumny są nan

df.dropna(subset=[1, 2], how='all')
Or
df.dropna(subset=[1, 2], thresh=1)
Xenophobic Xenomorph