QuestionQ109
VerifiedDeveloping Apache Spark™ DataFrame/DataSet API ApplicationsThe code block below contains an error. It is intended to return a new DataFrame containing the mean of column sqft from DataFrame storesDF in a column named sqftMean. Identify the error.
storesDF.agg(mean("sqft").alias("sqftMean"))
Community Discussion