Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Python Data Science Basics Charts and Tables Tables

open_with_csv()

Back in s2v1.py our open_with_csv function had 1 argument, the filename. Here, there's second argument d = ',' and I don't know what this means. I try to run my file, but there's a message: TypeError: open_with_csv() got an unexpected keyword argument 'd'

If I omit this, then I get another error, this time: FileNotFoundError: [Errno 2] No such file or directory: '_datatempTableFile.csv'

Can someone help please?

I am receiving the same first error though it does let me delete it and create the table & chart without the dilimeter. As for your other question, the d stands for the dilimeter. This is used to tell the system where to separate the information when parsing the data such as with comma separated values like in most CSVs.