adding a new column with constant value python code example Example: python add column with constant value df['new'] = '1'