I have the following indexed DataFrame with named columns and rows not- continuous numbers:
a b c d 2 0.671399 0.101208 -
x=pd.DataFrame([1,2,3,4,5]) y=pd.DataFrame([5,4,3,2,1]) z=pd.concat([x,y],axis=1)