def pandasSQL_builder(con, schema=None, meta=None,<EOL>is_cursor=False):
<EOL>con = _engine_builder(con)<EOL>if _is_sqlalchemy_connectable(con):<EOL><INDENT>return SQLDatabase(con, schema=schema, meta=meta)<EOL><DEDENT>elif isinstance(con, str):<EOL><INDENT>raise ImportError("<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>return SQLiteDatabase(con, is_cursor=is_cursor)<EOL><DEDENT>
Convenience function to return the correct PandasSQL subclass based on the
provided parameters.