Re: Testing of a fast method to bulk insert a Pandas DataFrame into Postgres - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Testing of a fast method to bulk insert a Pandas DataFrame into Postgres
Date
Msg-id d883ed79-df00-5880-85fc-36a6639389c9@aklaver.com
Whole thread Raw
In response to Re: Testing of a fast method to bulk insert a Pandas DataFrame into Postgres  (Shaozhong SHI <shishaozhong@gmail.com>)
Responses Re: Testing of a fast method to bulk insert a Pandas DataFrame into Postgres
List pgsql-general
On 10/4/21 10:10 AM, Shaozhong SHI wrote:
> Hello, Adrian Klaver,
> What is the robust way to upgrade Pandas?

Carefully.

The most recent version is 1.3.3, which is approximately 5 versions 
ahead of where you are now. The big jump is when Pandas went from 0.25 
to 1.0. See docs here:

https://pandas.pydata.org/docs/whatsnew/v1.0.0.html?highlight=upgrade

So the process should be 0.24 -> 0.25, verify, 0.25 -> 1.0, verify. Then 
on to wherever you want to end up a step at a time.

Before each step spend time here:

https://pandas.pydata.org/docs/whatsnew/

to see what the gotcha's are.


> Regards,
> David
> 



-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Rob Sargent
Date:
Subject: Re: Growth planning
Next
From: Adrian Klaver
Date:
Subject: Re: Testing of a fast method to bulk insert a Pandas DataFrame into Postgres