Mutate Existing Variables
Learn how to create new data based on existing columns.
Example with the temperature
dataset
Another common transformation of data is to create/compute new variables based on existing ones. For example, lets say we’re more comfortable thinking of temperature in degrees Celsius (°C) instead of degrees Fahrenheit (°F). The formula to convert temperatures from °F to °C is:
Get hands-on with 1400+ tech skills courses.