Skip to main content

Pandas interface for Clickhouse HTTP API

Project description

Build Status

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.1.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file pandahouse-0.2.1.tar.gz.

File metadata

  • Download URL: pandahouse-0.2.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pandahouse-0.2.1.tar.gz
Algorithm Hash digest
SHA256 96371328de908f5e6d0fd819e4d7b8a98ff6d6f87b7e66d41e56f41078eb653e
MD5 6806decd9e67660525d50e0b9f37b8b1
BLAKE2b-256 de67e6439df13e652105bed6a65921c49fc81ae2ff5b8091ccdb662448a45b72

See more details on using hashes here.

Provenance

Supported by

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