Get startedGet started for free

FIFA 18: Normalize data

FIFA 18 is a football video game that was released in 2017 for PC and consoles. The dataset that you are about to work on contains data on the 1000 top individual players in the game. You will explore various features of the data as we move ahead in the course. In this exercise, you will work with two columns, eur_wage, the wage of a player in Euros and eur_value, their current transfer market value.

The data for this exercise is stored in a pandas DataFrame, fifa. whiten from scipy.cluster.vq and matplotlib.pyplot as plt have been pre-loaded.

This exercise is part of the course

Cluster Analysis in Python

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Scale wage and value
fifa['scaled_wage'] = ____(fifa[____])
fifa['scaled_value'] = ____(fifa[____])
Edit and Run Code