MicrosoftLearning / MicrosoftLearning/mslearn-fabric
03b-medallion-lakehouse.md, replace head(10) with limit(10)
Open
Beginner friendly
Nobody has claimed this yet.
in review
- Dominant language
- Jupyter Notebook
- Stars
- 379
- Forks
- 349
- Avg merge
- 10d 3h
- Merged PRs (30d)
- 1
Description
Lab/Demo: 03b-medallion-lakehouse.md
Task: Transform data and load to silver Delta table
Step: 4
Description of issue
The code as written does not display column headers, which has confused a few of my students,
Replace:
# Display the first 10 rows of the dataframe to preview your data
display(df.head(10))
With:
# Display the first 10 rows of the dataframe to preview your data
display(df.limit(10))
And in other places throughout the lab.
Task: Transform data for gold layer
Steps: 5, 8, 9, 12, 13, 16
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open 03b-medallion-lakehouse.md and search the listed silver and gold-layer steps for uses of head(10). Replace the specified preview expressions throughout the lab with limit(10), then review those steps to confirm every requested preview uses the new form and displays column headers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 88/100