After Pandas Dataframe pd.concat I get NaNs
I have three pandas df one of them has been 'row'-shifted and the first element is empty. When I concatenate the three df to obtain a single 3-column dataframe I get all NaN in two out of three columns: df1: S 2010-12-31 True 2011-01-01 False 2011-01-02 False df2: P 2010-12-31 2011-01-01 On 2011-01-02 On df3: C 2010-12-31 On 2011-01-01 On 2011-01-02 On res = pd.concat([df1, df2, df3]): P C S 2010-12-31 NaN NaN True 2011-01-01 NaN NaN False 2011-01-02 NaN NaN False The order seems to be inverted as well... Many thanks In [2]: index = pd.DatetimeIndex(['2010-12-31', '2011-01-01', '2011-01-02'])