QuestionQ70Verified/Ingest and Process DataCopy linkReport a problemAsk AstroTutorSave questionWhich methods trigger an action that evaluates a DataFrame?Choose twoADataFrame.random_split()BDataFrame.collect()CDataFrame.select()DDataFrame.col()EDataFrame.show()Show AnswerAnswerExplanationSnowpark DataFrames are lazily evaluated until an action sends their SQL to the server. DataFrame.collect() evaluates the DataFrame and returns its rows, while DataFrame.show() evaluates it and prints rows. random_split(), select(), and col() only construct derived DataFrame or column expressions.Learn moreWorking with DataFrames in Snowpark PythonSnowpark Python DataFrame API ReferenceShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion