Pandas接口用于Clickhouse HTTP API
项目描述
Pandahouse
Pandas接口用于Clickhouse HTTP API
安装
pip install pandahouse
用法
将dataframe写入clickhouse
connection = {'host': 'http://clickhouse-host:8123',
'database': 'test'
affected_rows = to_clickhouse(df, table='name', connection=connection)
将任意clickhouse查询读取到pandas
df = read_clickhouse('SELECT * FROM {db}.table', index_col='id',
connection=connection)
项目详情
关闭
pandahouse-0.2.7.tar.gz的哈希
算法 | 哈希摘要 | |
---|---|---|
SHA256 | d1c03c365e95ce0b6cb0ade7763b3f2c9f33a57cc3e1d0a1887f2e973331c08a |
|
MD5 | ac21857c8b2a0e0594b0907387fec9b3 |
|
BLAKE2b-256 | 787c1a98a3791690428fb3d0346ad4f214102ab66c8026f3ea2b80beb22a160a |