logo

... pandas pipe: separation



Notes

The plotting function used in the video is shown below.

import altair as alt

def plot_bigmac(dataf):
    return (alt.Chart(dataf)
      .mark_point()
      .encode(x='local_inflation', 
              y='dollar_inflation', 
              color=alt.Color('currency_code'),
              tooltip=["currency_code", "local_inflation", "dollar_inflation"])
      .properties(width=600, height=150)
      .interactive())

We're using the altair library here. We also have a series of videos available for this here.

Feedback? See an issue? Something unclear? Feel free to mention it here.



If you want to be kept up to date, consider signing up for the newsletter.