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

YoSnow
YoSnow Dataiku DSS Core Designer, Registered Posts: 1 ✭✭✭

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.

Tagged:

Best Answer

  • NancyK
    NancyK 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

Setup Info
    Tags
      Help me…