A minor error (Code in Dataiku DSS on the Developper learning path)

Dataiku DSS Core Designer, Registered Posts: 1 ✭✭✭
edited July 2024 in Academy Discussions

Hello community,

I wanted to bring your attention to a minor mistake :

Where = Developer learning path-> Code in Dataiku DSS-> the second Hands on lab

orders_by_customer_df = orders_df.assign(total=orders_df.tshirt_price*orders_df.tshirt_quantity
    ).groupby(by="customer_id"
        ).agg({"pages_visited":"mean",
            "total":"sum"}).reset_index()

I believe orders_df should be df.

Let me know if this is not the place to raise this or if i'm mistaken.

Thank you.

Best Answer

  • Dataiker, Dataiku DSS Core Designer, Dataiku DSS Adv Designer Posts: 22 Dataiker
    Answer ✓

    Hi @YoSnow
    , thank you for flagging this! You are right, it should be "df" and not "orders_df".

    I have updated the lesson and the typo should now be fixed. Let me know if you have any other feedback Best,
    Nancy

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.