Skip to content

table

table(name)

Returns a Table wrapper for the named table, bound to the current connection and cursor. The table must already exist in the database; use table_from_dataframe() to create a new one from data.

Parameters

name : str
Name of the table as it exists in the database.

Returns

Table
Table wrapper for the specified table.

Raises

RuntimeError
If connect() has not been called.