read_db

DataFrame.read_db(table_name, append=False, conn=None)[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.

Raises:

TypeError: If any of the input arguments is of wrong type.

Returns:

DataFrame: Handler of the underlying data.