skip to content
promptdojo
_
[ save your spot ]
[ follow on x ]
DataFrame selection and cleaning without guessing — step 2 of 7
ch 35 · dataframes with numpy and pandas
2/7
promptdojo
_
›
phase 08 · ai/ml engineering buildout
›
ch 35 · dataframes with numpy and pandas
lesson 2 of 5 · dataframe selection and cleaning without guessing
step 2 / 7
Which cleaning move is safest for a model input table?
1
Select columns by explicit names and fail if a required name is missing.
2
Select the first three columns because the export usually keeps the same order.
3
Drop every row with any falsey value.
check
DataFrame selection and cleaning without guessing — step 2 of 7
ch 35 · dataframes with numpy and pandas
2/7
promptdojo
_
›
phase 08 · ai/ml engineering buildout
›
ch 35 · dataframes with numpy and pandas
lesson 2 of 5 · dataframe selection and cleaning without guessing
step 2 / 7
Which cleaning move is safest for a model input table?
1
Select columns by explicit names and fail if a required name is missing.
2
Select the first three columns because the export usually keeps the same order.
3
Drop every row with any falsey value.
check
park a thought