What does the pandas rank() method do and what tie-breaking options does it offer?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks what the pandas rank() method returns and how its method parameter resolves tied values, along with missing values and percentile ranks. Tests whether a candidate can pick the right tie rule for leaderboards, top-N per group filters and rank statistics.