Reduce And Lambda In Python Dataframes Concatenate