QuestionQ244Verified/Developing Apache Spark™ DataFrame/DataSet API ApplicationsCopy linkReport a problemAsk AstroTutorSave questionWhich of the following DataFrame operations is categorized as an action?ADataFrame.drop()BDataFrame.coalesce()CDataFrame.take()DDataFrame.join()EDataFrame.filter()Show AnswerAnswerExplanationDataFrame.take() triggers execution by retrieving the first specified rows and returning them as a local list of Row objects. drop(), coalesce(), join(), and filter() are lazy DataFrame transformations.Learn morepyspark.sql.DataFrame.take — PySpark documentationQuickstart: DataFrame — PySpark documentationShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion