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

Data Analysis Cleaning and Preparing Data β€œClean” and β€œDirty” Data Exploring Your Dataset

Jaron Trotter
Jaron Trotter
11,472 Points

Can't read CSV files after I navigate to where my downloaded files are and I import pandas.

I navigated to the same folder in Jupyter where my downloaded files are stored. Then I'm importing pandas. I must be doing something wrong on my setup. Please help.

1 Answer

Linda Shum
Linda Shum
12,609 Points

Copied from another reply:

"You need to make sure you're starting up your Python environment in the same folder as the data files. When you open Jupyter Notebook, use the ls, cd, cd.., pwd commands to move through your computers directories (files) until you end up wherever you saved the teachers data. When you are there, the read_csv will work."