Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
eddiel
New Member

Corrects required in Learning docs practical exercise? Analyze data with Apache Spark

Hi,

 

When completing the Practical Exercise for "Analyze data with Apache Spark", there appears to be two corrections required:

 

1. At the top of the exercise, we filter by 2019 data. However, when we plot the charts further down the exercise, we are doing group by year's and some of the charts would work best if there was more than a single year (e.g. the Seaborn ones at bottom of exercise don't show a line for the data between order years, as the data is limited to 2019 at the top of the exercise).

2. In the section "Visualise data with Spark" there is a reference in one of the code blocks to "df_sales". However, we get asked to replace that code with anotehr code block that removed the line  creating that variable i.e. "df_sales = df_spark.toPandas()". Thus if you are running the replacement code, without having gone through the course steps in sequence, it throws errors. I fixed this by adding in the "df_sales = df_spark.toPandas()" line back in. But seems like the course's suggested code needs updating to avoid others coming across the same problem.

 

I wasn't sure where to post this feedback for possible "MS Learning" course correction suggestions.

 

Thanks

 

Ed

3 REPLIES 3
Shahid12523
Community Champion
Community Champion

Corrections for “Analyze data with Apache Spark” exercise:

Year filter: Currently filters only 2019, which breaks multi-year charts. Suggest using multiple years.

df_sales reference: Some code blocks use df_sales = df_spark.toPandas(), but replacement code removes it, causing errors. Suggest keeping or updating instructions.

Shahed Shaikh
AngieRudduck
Microsoft Employee
Microsoft Employee

Thanks for sharing this feedback!

We've updated the exercise last week and you should be able to proceed without error now. Feedback is always welcome here. 

You can also "Leave Feedback" on the specific web page on learn.microsoft.com, which is sent to content developers to resolve.  

riccarrasco
Administrator
Administrator

Ed, thank you for the feedback! We'll make sure that the team that writes these labs gets it and actions it as soon as possible. 

Helpful resources

Announcements
September Fabric Update Carousel

Fabric Monthly Update - September 2025

Check out the September 2025 Fabric update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.