get¶
-
getml.database.
get
(query, conn=None)¶ Executes an SQL query on the database and returns the result as a pandas dataframe.
- Parameters
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.