Git Product home page Git Product logo

sentdexworkarounds's People

Contributors

tomgs avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

shawndegroot

sentdexworkarounds's Issues

22.py

Thank you for this updated code. One issue I found on 22.py is that an N/A on the Yahoo finance key statistics website will be represented as a blank field in the json file. For example, ABBV has N/A for free cash flow, which is shown in the json file as "freeCashflow":{}. When downloading the dataframe to a csv file in teh code, the code defaults this to the next number it finds. In this case, freeCashflow would get populated with earningsGrowth, "freeCashflow":{},"operatingCashflow":{},"earningsGrowth":{"raw":0.278,"fmt":"27.80%"}. Any idea on how to fix this? I am struggling to figure it out.

Couldn't find market cap

I appreciate your help with this. after some digging, I was able to find market cap as sharesOutstanding
Price/Sales is priceToSalesTrailing12Months

as for trailing p/e the best i could figure is calculating it using by dividing 'currentPrice' by 'trailingEps'

22.py convert to float

You need to convert the values to floats before doing arithmetic in the append. Took me ages to work out what wasn't working.

Market Cap Value Fix

Thanks for creating the workaround, one issue I had was the Market Cap data, you need to first convert value_list[35] into a float in order for it to work.

                            'Market Cap':float(value_list[35])*value_list[36]

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.