I have this dataframe:
data = {'one': pd.Series([1,2,3], index=['a','c','d'], dtype='i4')
'two': pd.Series([4,7,2,2], index=['a','b','c','d'])}
pd.DataFrame(data)
I am getting following output
one two
a 1.0 4
b NaN 7
c 2.0 2
d 3.0 2