agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: Adrian Klaver <adrian.klaver@aklaver.com>
To: Shaozhong SHI <shishaozhong@gmail.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: Testing of a fast method to bulk insert a Pandas DataFrame into Postgres
Date: Mon, 4 Oct 2021 10:28:34 -0700
Message-ID: <d883ed79-df00-5880-85fc-36a6639389c9@aklaver.com> (raw)
In-Reply-To: <CA+i5JwbRVj4tC7Qw5ex0iat+ZoP_qsZ6WB-noeoDk2WCwWYMQw@mail.gmail.com>
References: <CA+i5JwYnUBCKSnWn96OvtF66oGYHNGefMd5V_Bgceu=4PtcDNw@mail.gmail.com>
<CA+i5JwY1jDx3jyBCkuJQhOyPELAoYVFtOmCqgxotTXmGc3wO9g@mail.gmail.com>
<a6105435-6bfd-8776-fe38-13ffab752f23@aklaver.com>
<CA+i5JwZkQJ2su4n14tg0Cyer5=ek17KnWhOYdiq-rnw9MRrt2Q@mail.gmail.com>
<1b86e754-0317-84df-848f-9218e8df73e9@aklaver.com>
<CA+i5JwbRVj4tC7Qw5ex0iat+ZoP_qsZ6WB-noeoDk2WCwWYMQw@mail.gmail.com>
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
view thread (12+ messages) latest in thread
Message-ID: <d883ed79-df00-5880-85fc-36a6639389c9@aklaver.com>
Permalink: ../d883ed79-df00-5880-85fc-36a6639389c9@aklaver.com/
Also on: postgresql.org/message-id/d883ed79-df00-5880-85fc-36a6639389c9@aklaver.com
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: adrian.klaver@aklaver.com, shishaozhong@gmail.com, pgsql-general@lists.postgresql.org
Subject: Re: Testing of a fast method to bulk insert a Pandas DataFrame into Postgres
In-Reply-To: <d883ed79-df00-5880-85fc-36a6639389c9@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox