What’s new in 2.3.0 (June 4, 2025)
These are the changes in pandas 2.3.0. See Release notes for a full changelog including other versions of pandas.
Upcoming changes in pandas 3.0
pandas 3.0 will bring two bigger changes to the default behavior of pandas.
Dedicated string data type by default
Historically, pandas represented string columns with NumPy object data type.
This representation has numerous problems: it is not specific to strings (any
Python object can be stored in an object-dtype array, not just strings) and
it is often not very efficient (both performance wise and for memory usage).
Starting with the upcoming pandas 3.0 release, a dedicated string data type will
be enabled by default (backed by PyArrow under the hood, if installed, otherwise
falling back to NumPy). This means that pandas will start inferring columns
containing string data as the new str data type when creating pandas
objects, such as in constructors or IO functions.