Calmcode - pandas pipe: separation

Separation of Concerns in Pandas

1 2 3 4 5 6 7 8 9

The plotting function used in the video is shown below.

import altair as alt

def plot_bigmac(dataf):
    return (alt.Chart(dataf)
              tooltip=["currency_code", "local_inflation", "dollar_inflation"])
      .properties(width=600, height=150)

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