QuestionQ134Verified/Developing Apache Spark™ DataFrame/DataSet API ApplicationsCopy linkReport a problemAsk AstroTutorSave questionWhich of the following DataFrame operations is categorized as a transformation?ADataFrame.select()BDataFrame.count()CDataFrame.show()DDataFrame.first()EDataFrame.collect()Show AnswerAnswerExplanationDataFrame.select() is a lazy transformation because it projects columns or expressions and returns a new DataFrame. The other operations are actions that return, display, or retrieve computed results.Learn moreSpark Dataset API documentationPySpark DataFrame.select documentationShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion