What changed in pandas from 2 to 3
6 releases numbered after v2.3.3 up to and including v3.0.5, stable releases only. v2.3.3 and v3.0.5 are the newest stable releases of 2 and 3 we track; this page follows them as new ones ship.
- 1 mentions breaking changes
- 1 removes or deprecates something
6 changes across 6 releases
- Dedicated string data type by default
- Consistent copy/view behaviour with Copy-on-Write (CoW)
- Initial support for the new pd.col syntax
- New default resolution for datetime-like data
- Pandas 3.0.0 now supports Python 3.11 and higher
- Functionality that was deprecated in previous releases
5 releases in the range carry no categorized changes yet: v3.0.5v3.0.4v3.0.3v3.0.2v3.0.1. Their original notes, where the vendor published any, are below.
Original release notes, newest first
The list above is our reading of these notes; the originals from pandas are here, one fold per release.
v3.0.5pandas 3.0.5
We are pleased to announce the release of pandas 3.0.5. This is a patch release in the 3.0.x series and includes some regression fixes and bug fixes. We recommend that all users of the 3.0.x series upgrade to this version.
See the full whatsnew for a list of all the changes.
Pandas 3.0 supports Python 3.11 and higher. The release can be installed from PyPI:
python -m pip install --upgrade pandas==3.0.*
Or from conda-forge
conda install -c conda-forge pandas=3.0
Please report any issues with the release on the pandas issue tracker.
Thanks to all the contributors who made this release possible.
v3.0.4pandas 3.0.4
We are pleased to announce the release of pandas 3.0.4. This is a patch release in the 3.0.x series and includes some regression fixes and bug fixes. We recommend that all users of the 3.0.x series upgrade to this version.
See the full whatsnew for a list of all the changes.
Pandas 3.0 supports Python 3.11 and higher. The release can be installed from PyPI:
python -m pip install --upgrade pandas==3.0.*
Or from conda-forge
conda install -c conda-forge pandas=3.0
Please report any issues with the release on the pandas issue tracker.
Thanks to all the contributors who made this release possible.
v3.0.3pandas 3.0.3
We are pleased to announce the release of pandas 3.0.3. This is a patch release in the 3.0.x series and includes some regression fixes and bug fixes. We recommend that all users of the 3.0.x series upgrade to this version.
See the full whatsnew for a list of all the changes.
Pandas 3.0 supports Python 3.11 and higher. The release can be installed from PyPI:
python -m pip install --upgrade pandas==3.0.*
Or from conda-forge
conda install -c conda-forge pandas=3.0
Please report any issues with the release on the pandas issue tracker.
Thanks to all the contributors who made this release possible.
v3.0.2pandas 3.0.2
We are pleased to announce the release of pandas 3.0.2. This is a patch release in the 3.0.x series and includes some regression fixes and bug fixes. We recommend that all users of the 3.0.x series upgrade to this version.
See the full whatsnew for a list of all the changes.
Pandas 3.0 supports Python 3.11 and higher. The release can be installed from PyPI:
python -m pip install --upgrade pandas==3.0.*
Or from conda-forge
conda install -c conda-forge pandas=3.0
Please report any issues with the release on the pandas issue tracker.
Thanks to all the contributors who made this release possible.
v3.0.1pandas 3.0.1
We are pleased to announce the release of pandas 3.0.1. This is a patch release in the 3.0.x series and includes some regression fixes and bug fixes. We recommend that all users of the 3.0.x series upgrade to this version.
See the full whatsnew for a list of all the changes.
Pandas 3.0.0 supports Python 3.11 and higher. The release can be installed from PyPI:
python -m pip install --upgrade pandas==3.0.*
Or from conda-forge
conda install -c conda-forge pandas=3.0
Please report any issues with the release on the pandas issue tracker.
Thanks to all the contributors who made this release possible.
v3.0.0pandas 3.0.0
We are pleased to announce the release of pandas 3.0.0, a major release from the pandas 2.x series. This release includes various new features, bug fixes, and performance improvements, as well as possible breaking changes.
The pandas 3.0 release removed a functionality that was deprecated in previous releases. It is recommended to first upgrade to pandas 2.3 and to ensure your code is working without warnings, before upgrading to pandas 3.0.
Highlights include:
- Dedicated string data type by default
- Consistent copy/view behaviour with Copy-on-Write (CoW) (a.k.a. getting rid of the SettingWithCopyWarning)
- New default resolution for datetime-like data
- Initial support for the new
pd.colsyntax
See the announcement blog post and the detailed release notes for a list of all the changes.
Pandas 3.0.0 supports Python 3.11 and higher. The release can be installed from PyPI
python -m pip install --upgrade pandas==3.0.*
Or from conda-forge
conda install -c conda-forge pandas=3.0
Please report any issues with the release on the pandas issue tracker.
Thanks to all the contributors who made this release possible.