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.

  Examples

      >>> from sqlite3 import connect
      >>> conn = connect(':memory:')
      >>> pd.read_sql('select * test', conn)
      ... # DatabaseError: Execution failed on sql 'test': near "test": syntax error