deepinsightapi.dt package

Submodules

deepinsightapi.dt.sqlquery module

class deepinsightapi.dt.sqlquery.DTSQLQuery(client, connection, database, db_type='sql', extra_conf={})

Bases: object

A connection to a database or database-like on which queries can be run through DT

get_schema()

Get the query’s result set’s schema

Returns:
the schema as a JSON array of columns
query_to_df(query)

Module contents