FAQ: Multiple Linear Regression - StreetEasy Dataset

This community-built FAQ covers the “StreetEasy Dataset” exercise from the lesson “Multiple Linear Regression”.

Paths and Courses
This exercise can be found in the following Codecademy content:

FAQs on the exercise StreetEasy Dataset

There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply (reply) below.

If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head here.

Looking for motivation to keep learning? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

All 3 databases (the csv files) are giving a “does not exist error.” I exited and reloaded Codecademy but they are still missing. Any thoughts?

Never mind, the hint gives the full path that was missing.

LOl. who uses read_csv from url. That’s the dumbest thing I’ve seen on codecademt

This question gives the following as the solution:

import codecademylib3_seaborn
import pandas as pd

streeteasy = pd.read_csv("https://raw.githubusercontent.com/Codecademy/datasets/master/streeteasy/queens.csv")

df = pd.DataFrame(streeteasy)
print(df.head())

Whereas my code, which produced identical output, was this:

import codecademylib3_seaborn
import pandas as pd

df = pd.read_csv("https://raw.githubusercontent.com/Codecademy/datasets/master/streeteasy/queens.csv")

print(df.head())

I’m wondering what the purpose of the additional step in the solution is? My understanding is that pandas read_csv returns a dataframe already, so it seems unnecessary to assign it to a temporary variable and then convert it into a dataframe as in the solution code, but I will be the first person to admit that I’m not all that familiar with pandas so maybe I am missing something important here?

Thanks!