Skip to content

Commit fe54b7b

Browse files
Damien Garaudwesm
Damien Garaud
authored andcommitted
DOC: Complete IO/SQL part.
- Change the title. - List other functions of the module 'io.sql'.
1 parent dc03f59 commit fe54b7b

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

doc/source/io.rst

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,8 +1428,8 @@ These, by default, index the three axes ``items, major_axis, minor_axis``. On an
14281428
14291429
.. _io.sql:
14301430

1431-
DataBase Queries
1432-
----------------
1431+
SQL Queries
1432+
-----------
14331433

14341434
The :mod:`pandas.io.sql` module provides a collection of query wrappers to both
14351435
facilitate data retrieval and to reduce dependency on DB-specific API. There
@@ -1510,12 +1510,16 @@ Of course, you can specify more "complex" query.
15101510
cu.close()
15111511
cnx.close()
15121512
1513-
.. note::
15141513
1515-
For now, writing your DataFrame into a database works only with
1516-
SQLite. Moreover, the index will currently be dropped.
1514+
There are a few other available functions:
15171515

1518-
.. todo::
1516+
- ``tquery`` returns list of tuples corresponding to each row.
1517+
- ``uquery`` does the same thing as tquery, but instead of returning results,
1518+
it returns the number of related rows.
1519+
- ``write_frame`` writes records stored in a DataFrame into the SQL table.
1520+
- ``has_table`` checks if a given SQLite table exists.
15191521

1520-
- methods list
1522+
.. note::
15211523

1524+
For now, writing your DataFrame into a database works only with
1525+
**SQLite**. Moreover, the **index** will currently be **dropped**.

0 commit comments

Comments
 (0)