I am trying to add a column of smaller len into a DataFrame where indexes of smaller item are a subset of a larger item. So if RIMM has data for every single day, but GOOG is missing some day. I want to add RIMM to the matrix with header GOOG
GOOG
03/12/2012 1
29/11/2012 1
26/11/2012 1
RIMM
03/12/2012 1
30/11/2012 1
29/11/2012 1
28/11/2012 1
27/11/2012 1
26/11/2012 1
So it looks something like this
RIMM GOOG
03/12/2012 1 1
30/11/2012 1 NaN
29/11/2012 1 1
28/11/2012 1 NaN
27/11/2012 1 NaN
26/11/2012 1 1
I am new to this data type, so any suggestions/tips are welcome
to_dict(), then we can solve thison our own machines without having to create the dataframes :)