Apply Lambda Function In Python