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

Michael Young
4,582 PointsObservation on Pokemon data set when using `data.drop_duplicates(subset=["Name"], keep="last", inplace=True)`
Using keep="last"
for the sake of keeping the duplicate Blastoise with the correct value removed the first instance of Ekans and Farfetchβd.
Since the ID column (albeit in base 0) relates to a Pokemon's Pokedex entry, Ekans being placed between Parasect and Venonat and Farfetchβd being placed between Muk and Shelder is a missed opportunity to keep the original Pokedex order integrity.
Sure I'm bringing out the 9-year old geek in me, but the lesson did stress awareness of domain-specifics. π