Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PYTHON, I am trying to graph a inputed file. I get the error . This is only for the first row, it seams to print

PYTHON, I am trying to graph a inputed file. image text in transcribedI get the errorimage text in transcribed. This is only for the first row, it seams to print the values instead of graphing. Can you please fix this code. The input file looks like image text in transcribed. You do not have to run the code for me you can just leave hints or recomendations. Thanks

9 import matplotlib.pyplot as plt 1 with open ( 'avghighs.csv') as temp file: 2temps-[l for t in temp_file: temps.append (t) 4 6 years range(1, 12) 7 8 plt.plot(years, temps) 9 plt.show() ValueError: x and y must have same first dimension, but have shapes (11,) and (3,) 432,33,37,42,45,53,72,82,79,66,55,46,41 0.0 0.2 0.4 195 436 687 447 558 9 325 557 562 447 2 4 2 2 395 325 276 475

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

T Sql Fundamentals

Authors: Itzik Ben Gan

4th Edition

0138102104, 978-0138102104

More Books

Students also viewed these Databases questions

Question

9. Explain the relationship between identity and communication.

Answered: 1 week ago

Question

a. How do you think these stereotypes developed?

Answered: 1 week ago

Question

a. How many different groups were represented?

Answered: 1 week ago