Skip to main content

Pandas interface for Clickhouse HTTP API forked from pandahouse

Project description

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


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pandahouse-v2-0.1.tar.gz (26.7 kB view details)

Uploaded Source

File details

Details for the file pandahouse-v2-0.1.tar.gz.

File metadata

  • Download URL: pandahouse-v2-0.1.tar.gz
  • Upload date:
  • Size: 26.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for pandahouse-v2-0.1.tar.gz
Algorithm Hash digest
SHA256 e39a6d0c6eef3343c42e6878ee4e5e10e413455600969a9e0489937b7ba8cf4e
MD5 b7c41f330a0a5e01799c0d7bbbd86ca0
BLAKE2b-256 239061a16d707fe9ba0998959c20189f8a0c8bbd78ee4526481b9773e1ddbb3c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page