Search⌘ K

Merge and Plot Our Data Frames

Explore how to merge two cleaned data frames containing wage and consumer price index data, then visualize this merged data with bar and line plots. This lesson helps you understand the merging process and how to effectively display trends using Python's plotting libraries within a Jupyter environment.

Merging data series

We need to merge our two data series. But since we’ve already done all the cleaning up and manipulation, this will go smoothly. We’ll create a new data frame called merged_data and feed it with the output of this pd.merge function. We supply our two data frames’ names and specify that the Date ...