Git Product home page Git Product logo

shrishtihore / predicting_stock_prices Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 25 KB

This project aims to predict stock prices using Scikit-learn library and plotting a graph using Matplotlib.๐Ÿ“ˆ๐Ÿ“Š๐Ÿ“‰๐Ÿ“‹๐Ÿ“†๐Ÿ’ฐ

Home Page: https://github.com/ShrishtiHore/Predicting_Stock_Prices

Python 100.00%
stock-price-prediction data datascience machine-learning support-vector-machines regressions matplotlib

predicting_stock_prices's People

Contributors

shrishtihore avatar

Stargazers

 avatar

Watchers

 avatar

predicting_stock_prices's Issues

[Errno 2] No such file or directory: 'aapl.csv'

Not being able to read the csv file .
Getting error in this part of the program:
def get_data(aapl):
with open('aapl.csv','r') as csvfile:
csvFileReader = csv.reader(csvfile)
next(csvFileReader)
for row in csvFileReader:
dates.append(int(row[0].split('-')[0]))
prices.append(float(row[1]))
return
And the error is:
get_data('aapl.csv')

FileNotFoundError Traceback (most recent call last)
in
----> 1 get_data('aapl.csv')

in get_data(aapl)
1 def get_data(aapl):
----> 2 with open('aapl.csv','r') as csvfile:
3 csvFileReader = csv.reader(csvfile)
4 next(csvFileReader)
5 for row in csvFileReader:

FileNotFoundError: [Errno 2] No such file or directory: 'aapl.csv'

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.