Re: Testing of a fast method to bulk insert a Pandas DataFrame into Postgres

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Shaozhong SHI <shishaozhong(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Testing of a fast method to bulk insert a Pandas DataFrame into Postgres
Date: 2021-10-04 17:28:34
Message-ID: d883ed79-df00-5880-85fc-36a6639389c9@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

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(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Midgley 2021-10-04 17:30:18 Re: Testing of a fast method to bulk insert a Pandas DataFrame into Postgres
Previous Message Rob Sargent 2021-10-04 17:22:08 Re: Growth planning

Browse pgsql-sql by date

  From Date Subject
Next Message Steve Midgley 2021-10-04 17:30:18 Re: Testing of a fast method to bulk insert a Pandas DataFrame into Postgres
Previous Message Shaozhong SHI 2021-10-04 17:10:29 Re: Testing of a fast method to bulk insert a Pandas DataFrame into Postgres