python create new column and assign value code example
Example 1: how to assign a new value in a column in pandas dataframe
df = df.assign(industry='yyy')
Example 2: how to assign a new value in a column in pandas dataframe
df['industry'] = 'yyy'