<gh_stars>0
"""
Generate plot
"""
import pandas as pd

# + tags=["parameters"]
upstream = ['clean']
product = None
# -

# +
df = pd.read_csv(upstream['clean']['data'])
grouped = df.groupby('sex')[['age', 'hours-per-week']].mean()
grouped.columns = ['Mean age', 'Mean hours per week worked']
grouped.head()
# -

# +
# some plotting code...
# -

"""
Generate plot
"""
import pandas as pd

# + tags=["parameters"]
upstream = ['clean']
product = None
# -

# +
df = pd.read_csv(upstream['clean']['data'])
grouped = df.groupby('sex')[['age', 'hours-per-week']].mean()
grouped.columns = ['Mean age', 'Mean hours per week worked']
grouped.head()
# -

# +
# some plotting code...
# -
Generate plot # + tags=["parameters"] # - # + # - # + # some plotting code... # -