Map Reduce And Lambda In Python Pandas