Apply Operations Over Items In A List

Three topics to consider are map(), for x in y, and lambda functions when working with data within Python. Map() applies a function to all the items in an input_list. The Python for statement iterates over the members of a sequence in order. Lambdas are one-line functions. Generally, you want to use lambda functions when you don’t want to use them more than once.  All three are extremely helpful when working within artificial intelligence, machine learning, and data science.