Git Product home page Git Product logo

Comments (3)

LinhN16 avatar LinhN16 commented on June 17, 2024

Alex and I are having the same issues as Dylan.

The error message I get particularly is that there is an invalid syntax in the title:
def dynamic_plot('pima-indians-diabetes.csv'):

and the syntax error shows an arrow hovering below the second end quote for the title of my csv file.

from eeb-c177-w20.

omerlavian20 avatar omerlavian20 commented on June 17, 2024

This may not work but this helped me once. When you write the path try to the file try making sure that you represent the home directory as "home" and not "~". Alternatively, go to the location of the file you want to use, type "pwd", and copy the result into your code.

from eeb-c177-w20.

shawntschwartz avatar shawntschwartz commented on June 17, 2024

@omerlavian20 that's a great suggestion (using "home", not "~"; along with pwd to get the exact location to copy-and-paste). If you all still aren't able to get it working, upload your script assuming the file path "works" and then we can try to debug them in lab tomorrow or office hours this week. I would definitely recommend trying what Omer suggested though, as that is what my first thought would be.

Another question I would ask is: where is your .py file located on the computer relative to the data file that you're trying to use? If you move them to the same directory, do you still get an error? Think about whether there may or may not be read-write privilege issues (thought I wouldn't think this would be the case, it may be worth investigating just to make sure).

from eeb-c177-w20.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.