Mathematical operations allowed

Remember, at the interval level, we have addition and subtraction to work with. This is a real game-changer. With the ability to add values together, we may introduce two familiar concepts, the arithmetic mean (referred to simply as the mean) and standard deviation. At the interval level, both of these are available to us. To see a great example of this, let's pull in a new dataset, one about climate change:

# load in the data setclimate = pd.read_csv('../data/GlobalLandTemperaturesByCity.csv')climate.head()

Let us have a look at the following table for a better understanding:

dt

AverageTemperature

AverageTemperatureUncertainty

City

Country

Latitude

Longitude

0

1743-11-01

6.068

Get Feature Engineering Made Easy now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.