Visualize Spatial Data in SAP HANA Cloud Using Jupyter Notebook
Beginner
15 min.
Connect your Python script from Jupyter Notebook to SAP HANA Cloud, SAP HANA database, creating a visualization of spatial data in SAP HANA Cloud.
You will learn
- How to create a connection between Jupyter Notebook and database instance
- How to load CSV data into pandas data-frame
- How to create a table in database instance from pandas data-frame
- How to create data visualizations in SAP HANA Cloud, SAP HANA database
Prerequisites
- Make sure that you have a running SAP HANA database instance in SAP HANA Cloud.
- Download the sample data “travelroute.zip” file from GitHub repository
There are many data driven applications that can be developed by using the SAP HANA database instance in SAP HANA Cloud with any other development environment, such as Jupyter Notebook.
In this example, we’ll focus on creating a Python 3 file on Jupyter Notebook and connect it to our database instance. Once the connection is created, then we can add data to the instance or access data stored in the instance.
By connecting Python files to your database instance, it also possible to use machine learning capabilities.