QuestionQ41

VerifiedPrepare data and use feature engineering in Snowflake

A Data Scientist must remove the “ssn” field from this dataset in a customer DataFrame using Snowpark:

Question Image

Which functions can be used to do this?

Choose two
Explanation

Snowpark’s DataFrame.drop returns a new DataFrame excluding the specified column names. DataFrame.select returns a new DataFrame containing only the columns named in its arguments, so selecting id, name, and gender excludes ssn.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!