Skip to main content

pql.get_connections

pql.get_connections()

Get connections available to you in your Predibase environment. Should only
be used for getting connections to run PQL queries, otherwise make sure to
use the pc.list_connections() method.

Parameters:

   None

Returns:

   pd.DataFrame

Examples:

To get the connection you want to work with:

    connection_df = pql.get_connections()

connection_df[connection_df.name == 'titanic']