how to assign a new value in a column in pandas dataframe 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'