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.2.tar.gz
(3.8 kB
view details)
File details
Details for the file pandahouse-0.2.2.tar.gz
.
File metadata
- Download URL: pandahouse-0.2.2.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e027f3059eee1e8b85629665d28f5a83ad22e2d4fe8ad43130d3083fdf3a345d |
|
MD5 | 46c24a25b6e1058ae8e6291b1e581d95 |
|
BLAKE2b-256 | 254cb3b86f3b4454166a606931e8dffad19787d372c507f91b97c92c31f31bfe |