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.
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.