Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Arink Bertrand
10,165 Pointsgetting errors, despite confirming changes
It is for Introduction to pandas Challenge #2:
so I did:
TODO: Update kimberly@yahoo.com to have the last name of "Deal"
users.loc[users.email == 'kimberly@yahoo.com', 'last_name'] = 'Deal'
users.loc['kimberly']
first_name Kimberly
last_name Deal
email kimberly@yahoo.com
email_verified False
signup_date 2018-01-06
referral_count 5
balance 54.73
Name: kimberly, dtype: object
TODO: Update the username jeffrey to jefrey (only one f)
users.rename(index={'jeffrey': 'jefrey'}, inplace=True)
users.loc['jefrey', 'first_name'] = 'Jefrey'
users.loc['jefrey']
first_name Jefrey
last_name Stewart
email stewart7222@hotmail.com
email_verified True
signup_date 2018-01-02
referral_count 0
balance 40.58
Name: jefrey, dtype: object
As you can see it did update properly but when I run the test I get an error and failure
TypeError: _get_value() got multiple values for argument 'takeable'
'Did you rename the username jeffrey to jefrey?' AssertionError: False is not true : Did you rename the username jeffrey to jefrey?
Arink Bertrand
10,165 Pointsthanks Kris, I just updated it as requested
KRIS NIKOLAISEN
54,974 PointsKRIS NIKOLAISEN
54,974 PointsCan you format this with markdown? There is a Markdown Cheatsheet link towards the bottom of the page.