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

Solved!
YoSnow
Level 1
A minor error (Code in Dataiku DSS on the Developper learning path)

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.

 

 

0 Kudos
1 Solution
NancyK
Community Manager
Community Manager

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

View solution in original post

1 Reply
NancyK
Community Manager
Community Manager

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