I have 2m lines of Uk postcode data but some muppet has used double spaces in some cases and single spaces in others. I need to merge data based on the postcode so it needs to be consistent.
I can't find a simple way to do this in pandas, but it feels like there should be. Any advice?