building of dataframes one row per month