โ† All projects

Data Cleaning Challenge: FIFA Players

Turning a 70-column raw player export into a tidy, analysis-ready table.

Real-world dataData CleaningPythonpandasregex
70+raw columns
5unit and format fixes
1clean CSV exported

The question

Raw exports carry symbols, mixed units and unused columns that block analysis. This project shows the cleaning routine I use before any modelling.

What I did

Dropped columns that were empty or unneeded, such as Loan Date End, photo and player links, and a duplicate name column.
Converted money fields written as M and K (wage, value, release clause) into plain numbers.
Found heights in feet and inches and weights in pounds, and converted everything to centimetres and kilograms.
Split the contract field into start and end year and removed star symbols from rating columns.
Fixed the Hits column, converted text columns to integers, reordered columns and exported a clean CSV.

What I found

Every numeric field ended in a consistent unit and type.
Unit conversions are written as functions, so they can run again on a new export.
The output is ready for analysis without further manual edits.
View the code on GitHub โ†—
โ† PreviousExploring the Cryptocurrency MarketNext โ†’The Upset Report: World Cup 2026