Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.21 KB

README.md

File metadata and controls

23 lines (15 loc) · 1.21 KB

Accessing Semantic Containers in Jupyter Notebook

This tutorial provides an example on how to access a Semantic Container from within a Jupyter notebook. Refer to the Tutorial-Overview for other aspects.

Example Jupyter Notebooks

Accesing Semantic Containers in a Jupyter Notebook is as easy as accessing any other online resource. The following example reads data from a Semantic Container on https://vownyourdata.zamg.ac.at:9505 and stores it in the data frame df:

# Create URL to JSON file 
url = "https://vownyourdata.zamg.ac.at:9505/api/data/plain"

# Load the JSON file into a data frame
df = pd.read_json(url, orient='records')

These Jupyter Notebook examples demonstrate different use case on how to work with data and meta-data provided by Semantic Containers:

Credit: Thanks a lot to user Peb for creating the Jupyter Notebooks!