read_db¶
- DataFrame.read_db(table_name: str, append: bool = False, conn=None) DataFrame [source]¶
Fill from Database.
The DataFrame will be filled from a table in the database.
- Args:
- table_name(str):
Table from which we want to retrieve the data.
- append(bool, optional):
If a data frame object holding the same
name
is already present in the getML, should the content of table_name 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.