skip to content
promptdojo
_
[ save your spot ]
[ follow on x ]
Missing values, dtypes, and the silent model bug — step 2 of 7
ch 35 · dataframes with numpy and pandas
2/7
promptdojo
_
›
phase 08 · ai/ml engineering
›
ch 35 · dataframes with numpy and pandas
lesson 3 of 5 · missing values, dtypes, and the silent model bug
step 2 of 7 in this lesson
Which missing-value rule is safest for a spend feature?
1
Treat only `None` and empty strings as missing; keep zero as a real value.
2
Treat every falsey value as missing.
3
Convert everything to text so nothing errors.
check
ch 35 · dataframes with numpy and pandas
2/7
promptdojo
_
›
phase 08 · ai/ml engineering
›
ch 35 · dataframes with numpy and pandas
lesson 3 of 5 · missing values, dtypes, and the silent model bug
step 2 of 7 in this lesson
Which missing-value rule is safest for a spend feature?
1
Treat only `None` and empty strings as missing; keep zero as a real value.
2
Treat every falsey value as missing.
3
Convert everything to text so nothing errors.
check
park a thought