dataframe coulmn assign value code example Example: how to assign a new value in a column in pandas dataframe df['industry'] = 'yyy'