engine = create_engine( f"trino://{user}:{user_key}@{host}:{port}/{catalog}", connect_args={ "auth": BasicAuthentication(user, user_key), "http_scheme": "https", } ) connection = engine.connect() query = f""" """ pd.read_sql(query, connection)
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter