pandas.errors.DatabaseError#

exceptionpandas.errors.DatabaseError[source] #

Error is raised when executing SQL with bad syntax or SQL that throws an error.

Raised by pandas.read_sql() when a bad SQL statement is passed in.

See also

read_sql

Read SQL query or database table into a DataFrame.

Examples

>>> fromsqlite3import connect
>>> conn = connect(":memory:")
>>> pd.read_sql("select * test", conn)
On this page

This Page