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

Python Data Science Basics Cleaning Data Filtering Rows

_silk ?

I noticed that there is a underscore in the filtered fabric type, and I am not sure why this is, and what the significance is. Is it a python wild card thing? Is it something that can be used behind like "silk_"?

1 Answer

Larry Tooley
Larry Tooley
23,518 Points

No Python magic here. The 'material' column in the csv file uses the value '_silk'. The other material types are listed as '_wool', '_polyester', '_cool'. You can see this if you open the csv file in Excel or LibreOffice.

David Axelrod
David Axelrod
36,073 Points

I was kinda hoping there was some cool python doohingy behind it