Reduce And Lambda In Python Dataframes Concat