Skip to main content
`Ctrl`+`K`

# pandas.errors.DatabaseError

exception pandas.errors.DatabaseError

  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

      >>> from sqlite3 import connect
      >>> conn = connect(":memory:")
      >>> pd.read_sql("select * test", conn)