Join Data Frames

Learn about joining data frames and how to join multiple data frames to get more descriptive data.

Another common data transformation task is joining or merging two different datasets. For example, in the flights data frame, the variable carrier lists the carrier code for the different flights. While the corresponding airline names for UA and AA might be somewhat easy to guess (United and American Airlines), which airlines have the codes VX, HA, and B6? This information is provided in a separate data frame for airlines.

Get hands-on with 1200+ tech skills courses.