Skip to content

Instantly share code, notes, and snippets.

@DaKeZhang7412
DaKeZhang7412 / insert_data.py
Created March 30, 2020 23:35 — forked from jarrettmeyer/insert_data.py
Inserting data into HBase with Python
#!/usr/bin/env python
"""
Insert data into HBase with a Python script.
To create the table, first use the hbase shell. We are going to create a
namespace called "sample_data". The table for this script is called "rfic",
as we will be inserting Request for Information Cases from the City of
Indianapolis.