enes-oerdek / JupyterNotebook-To-SAPHANA-Example

Jupyter Notebook to SAP HANA Example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jupyter Notebook to SAP HANA Example

This repository provides an easy to use example for how to connect and persist data to SAP HANA within a Jupyter Notebook. It uses the existing "to_sql" interface of DataFrames and makes easy persistence possible.

Sample Data

The sample data comes from the Mannheim OpenData Tool. The dataset is licensed under dl-de/by-2-0.

Dependencies

  • pandas
  • numpy
  • hdbcli
  • sqlalchemy

You can simply use pip to install the dependencies. Example:

pip install hdbcli

Quickstart

It is as simple as it looks. Just add your credentials into the Notebook's according variables, run it and see your persisted data in your SAP HANA instance.

Further Information

I documented more information about this repository and it's use case in two blog posts.

About

Jupyter Notebook to SAP HANA Example

License:MIT License


Languages

Language:Jupyter Notebook 100.0%