A re-delivered bronze file duplicated customer records: the same customer_id now appears up to three times, and the copies differ in their updated_at values, so no two rows are fully identical. For the silver table, the team must end up with exactly one row per customer_id, and keeping any one of the copies is acceptable. A teammate proposes calling distinct() on the bronze DataFrame. What is the difference between the two candidate calls?
Reveal answer
Correct answer: distinct() compares every column, so rows that differ in updated_at all survive; dropDuplicates(['customer_id']) keeps a single row per key
Reference: https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-functions
Noos Visual & Functional Recognition
The “Sphere Embrace”: how Noos embraces top contributors without a childish mascot.
In neurobiology, glial cells wrap axons in myelin sheaths to accelerate neural impulses. On Noos, as your explanations earn accelerations and enter the Wiki Synthesis, the Noos Sphere wraps your Identicon with Keplerian orbits and two quantum nodes on its shoulders.
Pure 5×5 geometric Identicon (no personal photo, zero tracking). 1px frame.
Single dashed orbit with 1 bright polar node at the apex. Highlights those who passed the exam.
Two coaxial ellipses (±35°) wrap the avatar with two lateral nodes.
The Sphere Embrace: The Noos Sphere hood wraps the top of the Identicon and rests two luminous nodes on its shoulders.
02 — The Myelin Layer · Canonical Discussion
Where the exam tries to trick you — and how those who passed solved it.
contributed to this question
No community synthesis consolidated for this question yet. Below is the verifiable official starting point — if you passed the exam, open the option dissection.
Official Answer (A): distinct() compares every column, so rows that differ in updated_at all survive; dropDuplicates(['customer_id']) keeps a single row per key
Contribute to this Question
✦ I PASSED!Peer contributions
No public contribution yet. Be the first who passed to explain why the distractors trick candidates — your contribution builds your Orbital Sheath.