I have created a series and a Data frame in ipython notebook after creating them I have tried some arithmetic operation on them like subtraction.
frame = DataFrame(np.arange(12.).reshape((4, 3)), columns=list('bde'), .....: index=['Utah', 'Ohio', 'Texas', 'Oregon']) series = frame.ix frame - series b d e Utah 0 0 0 Ohio 3 3 3 Texas 6 6 6 Oregon 9 9 9
here the subtraction is row wise when I have tried doing subtraction column wise I am getting all missing value.
series3 = frame['d'] frame-series3