I have a csv file (say A.csv) with an index from 1980-01-01 to 2018-02-28 (increased by a day) and one data column (say everyday's stock price).
I have another csv file (say B.csv) with an index from 1980-01 to 2018-02 (increased by a month) and one data column (say monthly trade balance).
In such case, how do merge B.csv to A.csv (by maintaining daily index)? i.e., daily index + one column for daily stock price + another column for monthly trade balance (I need to expand monthly trade balance to daily trade balance by maintaining the same trade balance values for each days in a month).