gro-intelligence / api-client Goto Github PK
View Code? Open in Web Editor NEWGro Intelligence API Client
Home Page: https://developers.gro-intelligence.com/
License: MIT License
Gro Intelligence API Client
Home Page: https://developers.gro-intelligence.com/
License: MIT License
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
Don't see a need for the separate unix-setup.md
and windows-setup.md
, seems worthwhile to merge these into the docs/
and have them on developers.gro-intelligence.com.
In fact, it seems like we already have docs on this, so perhaps we can just remove these files and change the README.md links: https://developers.gro-intelligence.com/prerequisites/software-packages-prereqs
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
The import needs to be changed to
from groclient.crop_model import CropModel
.
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.
By packaging the api-client the correct, we can install our SDK using pip
from github.
See pypa/pip#3610,
https://docs.python.org/2/distutils/setupscript.html
-n
for nitpicky mode. Generates some warnings about bad links we should fix.sphinx-build -b linkcheck docs docs/_build/linkcheck
)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.