Pandas interface for Clickhouse HTTP API
Project description
Pandahouse
Note: this is a fork. You probably want to use https://github.com/kszucs/pandahouse
Pandas interface for ClickHouse HTTP API
Install
pip install pandahouse
Usage
Writing a 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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file intelecy_pandahouse-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: intelecy_pandahouse-0.4.1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.8.10 Linux/5.13.0-52-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a3a55417cb5b36767989e9c348980f4664b6f04dc38d02e22e4d0a37dda3c9e |
|
MD5 | e321176bd893571a4df3b48f403e13c8 |
|
BLAKE2b-256 | 957784055e78b2cf474880acb0e36860bf59c2f6d44d7e16a1dd7c86b7f80707 |