Transposing part of a pandas dataframe,df.fillna(0)