dataframe-api icon indicating copy to clipboard operation
dataframe-api copied to clipboard

Instructions for libraries implementing PEP 249 – Python Database API Specification v2.0

Open aosingh opened this issue 1 year ago • 0 comments

I am trying to understand if there is a way to extend the Python DB API and add a method let's say fetch_df_all()

fetch_df_all() fetches all the rows in a cursor and loads them into a Python DataFrame.

The idea is to have a DataFrame object that compiles with the new proposed standard and works with DataFrame libraries which understand the protocol.

is there any documentation available for library maintainers ? If you have a data frame (or equivalent data structure), the data could be packed into that.

aosingh avatar Apr 25 '24 22:04 aosingh