Giter Site home page Giter Site logo

api-client's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

api-client's Issues

Undefined variable in crop_models.py

Partner_region is undefined, causing this error:

Traceback (most recent call last): File "sugar.py", line 68, in <module> main() File "sugar.py", line 46, in main model.add_data_series(item="sugarcane", metric="production quantity", region="Brazil", partner_region="Kenya") File "/home/james/git/gro/api/client/samples/crop_models/crop_model.py", line 49, in add_data_series kwargs['partner_region'], partner_region) NameError: global name 'partner_region' is not defined

Error when attempting to call model.get_df() with an empty list of data series

This exception is raised when model.get_data_series_list() returns and empty list.

Traceback (most recent call last): File "sugar.py", line 69, in <module> main() File "sugar.py", line 64, in main data_frame = model.get_df() File "/home/james/git/api-client/api/client/samples/crop_models/crop_model.py", line 18, in get_df for series in self._data_series_list) File "/usr/local/lib/python2.7/dist-packages/pandas/core/reshape/concat.py", line 212, in concat copy=copy) File "/usr/local/lib/python2.7/dist-packages/pandas/core/reshape/concat.py", line 245, in __init__ raise ValueError('No objects to concatenate') ValueError: No objects to concatenate

README.pdf not very useful

The format looks weird.
You cannot copy-paste from the PDF.

I would provide a text version of it, or better, a Jupyter notebook version of it.

Add Sphinx correctness checking for our docs to CI

  • Make sure latest docs build without errors
    • Use -n for nitpicky mode. Generates some warnings about bad links we should fix.
  • Consider checking validity of links? (sphinx-build -b linkcheck docs docs/_build/linkcheck)
    • Sphinx 3.2.0 added checking for local links, which causes a bunch of false positives. Think we can fix by using references instead of links.

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.