You have a Fabric tenant that contains a new semantic model in OneLake.
You use a Fabric notebook to read the data into a Spark DataFrame.
You need to evaluate the data to calculate the min, max, mean, and standard deviation values for all the string and numeric columns.
Solution: You use the following PySpark expression:
df.explain()
Does this meet the goal?
The df.explain() method does not meet the goal of evaluating data to calculate statistical functions. It is used to display the physical plan that Spark will execute. Reference = The correct usage of the explain() function can be found in the PySpark documentation.
Pamella
10 months agoJunita
10 months agoLashanda
10 months agoAnnita
10 months agoWeldon
10 months agoMalcom
11 months agoCarman
11 months agoAlpha
11 months agoClay
11 months agoTanesha
11 months agoLonny
11 months agoMaryln
11 months agoBrock
11 months agoKrissy
11 months agoRemona
12 months agoRolf
12 months agoAnnabelle
12 months agoRima
2 years agoTamar
2 years agoBulah
2 years agoMarget
2 years agoPenney
2 years agoBulah
2 years ago