Skip to main content

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

intelecy_pandahouse-0.4.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file intelecy_pandahouse-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for intelecy_pandahouse-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5a3a55417cb5b36767989e9c348980f4664b6f04dc38d02e22e4d0a37dda3c9e
MD5 e321176bd893571a4df3b48f403e13c8
BLAKE2b-256 957784055e78b2cf474880acb0e36860bf59c2f6d44d7e16a1dd7c86b7f80707

See more details on using hashes here.

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