QuestionQ131
VerifiedTroubleshooting and Tuning Apache Spark DataFrame API Applications.The code block below contains an error. It is intended to return a new DataFrame in which missing values in the sqft column of DataFrame storesDF are replaced with 30,000. Identify the error.
A sample of DataFrame storesDF is shown below:

Code block:
storesDF.na.fill(30000, col("sqft"))
Community Discussion