> from pandas import * > x = DataFrame({'foo':['a','b','c'], 'bar':[1, 2, 3]}) > x > > x['bar'] = x.bar.astype("str") + " " + "is" + " " + x.foo > x.drop(['foo'], axis=1) from pandas import * x = DataFrame({'foo':['a','b','c'], 'bar':[1, 2, 3]}) x x['bar'] = x.bar.astype("str") + " " + "is" + " " + x.foo x.drop(['foo'], axis=1)