I have a two dataframes, and I am trying to concatenate these two dataframes into one based on corresponding date index and write into a csv file. "test1.txt" file