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.7.tar.gz
(21.0 kB
view hashes)