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

Uploaded Source

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

Hashes for pandahouse-0.2.2.tar.gz
Algorithm Hash digest
SHA256 e027f3059eee1e8b85629665d28f5a83ad22e2d4fe8ad43130d3083fdf3a345d
MD5 46c24a25b6e1058ae8e6291b1e581d95
BLAKE2b-256 254cb3b86f3b4454166a606931e8dffad19787d372c507f91b97c92c31f31bfe

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