Forum Discussion

MarcusR1's avatar
MarcusR1
Helper II
3 years ago

Using Python Regex to look for values in column

I'm trying to add a column called ofInterest select postcodes that match RG, OX & SA, the column would contain a 1 if the match is found, or 0 if not found. My code is:   import pandas as pd impo...