Session Ready
Exercise

Applying the unit conversion

Now that you've written some functions, it's time to apply them! The NASS corn dataset is available, and you can fortify it (jargon for "adding new columns") with metrics areas and yields.

This fortification process can also be turned in to a function, so you'll define a function for this, and test it on the NASS wheat dataset.

Instructions 1/2
undefined XP
  • 1
  • 2
  • Look at the corn dataset. Add two columns: farmed_area_ha should be farmed_area_acres converted to hectares; yield_kg_per_ha should be yield_bushels_per_acre converted to kilograms per hectare.