pandas-td
Pandas extension for Treasure Data
What it is and what it does
Pandas-TD is a deprecated bridge between pandas and Treasure Data, a cloud data warehouse. It lets you run SQL queries against Treasure Data tables and pull results directly into pandas DataFrames for local analysis, or write DataFrames back to Treasure Data tables. The package integrates with Jupyter notebooks via magic functions for interactive querying.
The package is no longer maintained and was archived in 2020. The maintainers explicitly recommend using pytd instead for any new work. If you have existing code using pandas-td, migration to pytd is the supported path forward.
Use it for:
- Pull Treasure Data query results into pandas for exploratory data analysis and visualization.
- Load a Treasure Data table into a DataFrame with optional row limits for sampling large datasets.
- Write analysis results from a pandas DataFrame back to a Treasure Data table for persistence and sharing.
- Use Jupyter magic functions to interactively query Treasure Data without writing explicit Python code.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Pandas-TD connects pandas DataFrames to Treasure Data's cloud analytics platform, enabling you to query and load data from Treasure Data into pandas for analysis and write results back to tables.
No. The package is abandoned, archived since 2020, and the maintainers explicitly direct users to pytd instead. Do not install for new projects. If you have legacy code using pandas-td, plan a migration to pytd.
Install
pandas-td on PyPI
pip
pip install pandas-tduv
uv add pandas-tdpoetry
poetry add pandas-tdInstalling pandas-td
Before you install
Installation is straightforward with no runtime dependencies, but the package is abandoned as of 2020-03-25 and archived on GitHub. The maintainers explicitly recommend migrating to pytd instead.
License in practice
Licensed under Apache License 2.0 (permissive), so commercial and private use are unrestricted, but the package is no longer maintained.
Quickstart
pip install pandas-td
import pandas_td as td
engine = td.create_engine('presto:sample_datasets')
df = td.read_td('select * from www_access', engine)
Requires a Treasure Data account and API key (set via TD_API_KEY environment variable) to authenticate queries.
Verify before relying
- Whether the package still works with current versions of pandas and Python given its 2020 abandonment date.
- Whether Treasure Data's backend API has changed in ways that would break this client since its last release.
Package facts
| License | Apache License 2.0 (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | abandoned — 2,695 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Downloads | 92,050/month — #13,483 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pandas_td-0.10.0-py2.py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
pytdpytd provides Python interfaces to Treasure…
permissive · top 15,000 on PyPI
td-clientPython client library for the Treasure Data…
permissive · top 15,000 on PyPI
pandas_accessReads MS Access database files (.mdb) into…
permissive · top 15,000 on PyPI
gspread-dataframeConverts between Google Sheets worksheets and…
permissive · top 5,000 on PyPI
dtaleD-Tale is a Flask-backed web interface for…
copyleft · top 15,000 on PyPI
pandas-read-xmlConverts XML files into pandas DataFrames, with…
permissive · top 15,000 on PyPI
df2gspreadTransfers tabular data between Google…
copyleft · top 15,000 on PyPI
qpdQPD translates SQL SELECT statements into…
permissive · top 15,000 on PyPI
gspread-pandasBridges Google Sheets and pandas DataFrames,…
permissive · top 15,000 on PyPI
pandasqlpandasql lets you query pandas DataFrames using…
unclear · top 5,000 on PyPI