Sponsored
Use these hints if you're stuck. Try solving on your own first.
Consider using a built-in function in pandas library to retrieve the initial rows.
Solve with full IDE support and test cases