Pandas interface for Clickhouse HTTP API
Project description
Pandahouse
Pandas interface for Clickhouse HTTP API
Install
pip install pandahouse
Usage
Writing dataframe to clickhouse
connection = {'host': 'http://clickhouse-host:8123',
'database': 'test'
affected_rows = to_clickhouse(df, table='name', connection=connection)
Reading arbitrary clickhouse query to pandas
df = read_clickhouse('SELECT * FROM {db}.table', index_col='id',
connection=connection)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pandahouse-0.2.1.tar.gz
(3.7 kB
view details)
File details
Details for the file pandahouse-0.2.1.tar.gz
.
File metadata
- Download URL: pandahouse-0.2.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96371328de908f5e6d0fd819e4d7b8a98ff6d6f87b7e66d41e56f41078eb653e |
|
MD5 | 6806decd9e67660525d50e0b9f37b8b1 |
|
BLAKE2b-256 | de67e6439df13e652105bed6a65921c49fc81ae2ff5b8091ccdb662448a45b72 |