Check for Duplicates
Before counting or removing anything, check whether our marathon results contain duplicate rows at all. Use
.duplicated().any() to find out.Premium
Python
Setting up Python environment... Output