I have a pandas dataframe looking like:
Name Address
Alan 23 Belby road, home near me 71234
Tom PA23 6NH brickby avenue
Solty 7 solty road 7123-234
Ben Nowhere road 713456 Belgium
I want to get the post codes with resultant dataframe looking like this:
Name Address Postcode
Alan 23 Belby road, home near me 71234 71234
Tom PA23 6NH brickby avenue PA23 6NH
Solty 7 solty road 7123-234 7123-234
Ben Nowhere road 713456 Belgium 713456
I looked at the posts at Python, Regular Expression Postcode search and python - get zipcode from full address
Unclear on how to proceed.