api-python icon indicating copy to clipboard operation
api-python copied to clipboard

Python client library to access Data Commons

Results 33 api-python issues
Sort by recently updated
recently updated
newest added

We are going to change the places-in, population, and observation mixer API methods so that they return maps from dcid to lists of dcids, population dcids, and observation values respectively....

Hi there, Is there a conda/conda-forge package for `datacommons` and `datacommons-pandas`? If not happy to create one and add yourselves to the feedstock.

Now the send_request function always throws ValueError [1] which is incorrect. For Http error, it should pass it along to client so client can identify if it's server error, argument...

adding conduct_chunked_query and its helper function recursive_query to be able to conduct large queries without overloading Data Commons server. I had tried to add in the tests in chunked_query_test.py to...

Right now, build_time_series outputs a pd.Series with unsorted index. Either get REST API to fix, or fix here.

bug

Context: https://github.com/datacommonsorg/api-python/pull/144/files/51582c83297fcc9f608a2cf2a7744b6d0264f3d4#r476568486 The pandas API is designed to be a superset of the python API functions, so we need to add symlinks for new files and keep import statements between...

bug

**Describe the bug** The python api throws the missing value error to my SPARQL query: ``` SELECT ?name ?proteinExpressionScore WHERE { ?a typeOf HumanProteinOccurrence . ?a name ?name . ?a...

bug

**Describe the bug** This query doesn't work. **To Reproduce** Steps to reproduce the behavior: 1. Go to Colab Notebook 2. Run: ```python import datacommons as dc root = 'https://api.datacommons.org' query_str...

bug

**Describe the bug** The response error occurs from time to time when I queried with python api. **To Reproduce** Steps to reproduce the behavior: 1. Go to Colab Notebook 2....

bug