Files

5 lines
210 B
Python

# Überprüfen auf fehlende Werte oder '?'
for col in df.columns:
missing_count = df[df[col] == '?'].shape[0]
if missing_count > 0:
print(f"Spalte '{col}' hat {missing_count} Einträge mit '?'")