Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Homework Help
#1
Photo 
I am not sure what I am doing wrong but I just need help with the first one to get the assignment going. I have look through my old assignments and am not sure how to do the code she is asking for. I am posting beginning of the assignment here.

df = pd.read_csv("boston.csv")
df.head(5)
print('df shape=',df.shape)

data = df.iloc[1:26,:]
data.head()
print('data shape=',data.shape)
data.head(5)
Question #1 #1) Create line chart of the field RM. The graph should have dashed lines, color red, linewidth= 4. Note... I can do the lines, color and width. I just for some reason cannot figure out what to use to get the linechart with the field RM
Larz60+ write Dec-04-2020, 11:26 AM:
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.

Fixed for you this time. Please use BBCode tags on future posts.
Reply
#2
Sounds like you need to make a line graph using the data read from boston.csv. What Python package is used plotting (hint hint) graphs?
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020