Infinite computation

When I use engine.connect() I have infinite computation.
engine = create_engine('postgresql://') connect = engine.connect() df = pd.read_sql('books', connect) df2 = pd.read_sql('books_oleksandr_lang', connect)

When I make it as engine = create_engine('postgresql://') df = pd.read_sql('books', engine)

I can’t use 2 connection


Thank you for reporting a problem!
Could you provide please which kernel type you are using?

Probably this could be relevant here to