"missing data, insert rows in pandas and fill with nan",df.set_index('A').reindex(new_index).reset_index()