get¶
- getml.database.get(query: str, conn: Optional[Connection] = None)[source]¶
Executes an SQL query on the database and returns the result as a pandas dataframe.
- Args:
- query (str):
The SQL query to be executed.
- conn (
Connection
, optional): The database connection to be used. If you don’t explicitly pass a connection, the engine will use the default connection.