# Cleaning Text Columns # Clean Description and Country columns df[‘Description’] = df[‘Description’].str.strip() df[‘Country’] = df[‘Country’].str.strip() # Handle specific country name inconsistencies # EIRE is a common inconsistency in this dataset for Ireland df[‘Country’].replace(‘EIRE’, ‘Ireland’, inplace=True) print(“Text columns cleaned and standardized.”)