# Creating an age column based on the year of birth current_year = dt.datetime.now().year df['Age'] = current_year - df['Year_Birth']
# Creating an age column based on the year of birth current_year = dt.datetime.now().year df['Age'] = current_year - df['Year_Birth']