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