SQLAlchemy fault

2021-10-20 Thread Shaozhong SHI
I read a txt file into Pandas Dataframe, and found a lot of nulls in a
column.

Then, I used SQLAlchemy and psycopg2.  I created engine.

I loaded data onto PostgreSQL.

Strange thing happened.

The column has no null at all.

Does it mean that the data has been modified somewhere along the line?

Does anyone know the robust and fast loading of Pandas frame data onto
Postgres database?

Regards,

David
-- 
https://mail.python.org/mailman/listinfo/python-list


Alternatives to Jupyter Notebook

2021-10-20 Thread Shaozhong SHI
Hello,

Is anyone familiar with alternatives to Jupyter Notebook.

My Jupyter notebook becomes unresponsive in browsers.

Are there alternatives to read, edit and run Jupyter Notebook?

Regards,

David
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: [tkinter]Synchronous image diplay

2021-10-20 Thread Cameron Simpson
On 20Oct2021 20:18, Stefan Ram  wrote:
>[email protected] (Stefan Ram) writes:
>>I want to diplay images fast in a slideshow (i.e., 10 images
>
>  (There's a problem with my [S] key.)
>
>  It seems that update_idletasks() solved my problem!

Yes. That causes the event loop to resume, render, then run any pending 
idle tasks (which run when the event loop is idle, implying that any 
pending rendering is complete). So you know at that time that a new 
image will have been displayed.

Think of it like flush() for file output, but for a GUI.

Cheers,
Cameron Simpson 
-- 
https://mail.python.org/mailman/listinfo/python-list