Back Navigation Next Navigation Conceptual Review (page 33 of 55)

A few helpful functions & methods include: max(), min(), or sum() for lists of numbers; len() to calculate the number of items in a list; reverse() to reverse the items in the list; and sort() to order the items.

range() creates a sequence of numbers that are stored in a range object. We can then cast that range object as a list.

Lists

Generating sequences of numbers is important for data analysts because they enable us to create indexes for data tracking, can help us simulate data for different types of simulations, and can be used for data transformations or feature engineering.