Closed
Description
Starting a new issue to discuss this. See merged PR #5950 and follow-up issue #6292.
Summary of situation:
Current (0.13):
- top-level
read_sql
,read_frame
,write_frame
andDataFrame.to_sql
- in sql module:
uquery
,tquery
,has_table
(+read_sql
)
New after #5950
- top-level
read_sql
andDataFrame.to_sql
(but not yet used in the docs) - in sql module:
read_sql
,read_table
,to_sql
,has_table
,execute
read_frame
,write_frame
,uquery
,tquery
are deprecated
Points to dicsuss
- docs: use top-level functions
read_sql
andDataFrame.to_sql
instead of functions fromsql
sql.read_table
vs existingpd.read_table
. Is this a problem?- merge functionality of
read_table
andread_sql
or not (see this comment of @mangecoeur to not do that: ENH: sql support via SQLAlchemy, with legacy fallback #5950 (comment))