read_query¶
-
DataFrame.
read_query
(query, append=False, conn=None)[source]¶ Fill from query
Fills the data frame with data from a table in the database.
- Args:
- query (str):
The query used to retrieve the data.
- append (bool, optional):
If a data frame object holding the same
name
is already present in the getML engine, should the content in query be appended or replace the existing data?- conn (
Connection
, optional): The database connection to be used. If you don’t explicitly pass a connection, the engine will use the default connection.
- Returns:
DataFrame
:Handler of the underlying data.