Pandas
Pandas is a fast, powerful, flexible, and easy-to-use open-source data analysis and manipulation tool, built on top of the Python programming language. The QuestDB Python client provides native support for ingesting Pandas dataframes via the InfluxDB Line Protocol.
#
Prerequisites- QuestDB must be running and accessible. Checkout the quick start.
- Python 3.8 or later
- Pandas
- pyarrow
- NumPy
#
OverviewThe QuestDB Python client implements the dataframe()
method to transform
Pandas DataFrames into QuestDB-flavored InfluxDB Line Protocol messages.
The following example shows how to insert data from a Pandas DataFrame to the
trades
table:
#
See alsoFor detailed documentation, please see: