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