PyMySQL / PyMySQL/mysqlclient

Feature request: to_pandas()/to_arrow()

Open
#443 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request
Dominant language
Python
Stars
2.5k
Forks
443
Avg merge
18h 21m
Merged PRs (30d)
4

Description

Hi, is there an easy+performant way to convert the result of a query into a Pandas or PyArrow dataframe while keeping the column names and data types?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. First inspect how query results expose column names and data types, then define a performant Pandas or PyArrow conversion API and its expected type-preservation behavior before identifying tests for the requested feature.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, pandas, python
Domain
data, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.