polars breaking changes
Updated December 4, 2026
On this page
Latest version 2.2.0, released November 24, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
- From 1.0.0 to 2.0.0: 282 breaking changes in 1 version.
- From 0.13.0 to 2.0.0: 1,716 breaking changes in 6 versions.
polars 2.0.0 breaking changes
- Removed
polars.arctan2d
Use arctan2 instead. pypi.org - Removed
polars.Array.width
Array.width was removed in polars 2.0.0 pypi.org - Removed
polars.catalog.unity.client.issue_deprecation_warning
polars.catalog.unity.client.issue_deprecation_warning was removed in polars 2.0.0 pypi.org - Removed
polars.Categorical.ordering
Categorical.ordering was removed in polars 2.0.0 pypi.org - Removed
polars.Config.set_auto_structify
Config.set_auto_structify was removed in polars 2.0.0 pypi.org - Removed
polars.convert.general.deprecate_renamed_parameter
polars.convert.general.deprecate_renamed_parameter was removed in polars 2.0.0 pypi.org - Removed
polars.convert.general.issue_deprecation_warning
polars.convert.general.issue_deprecation_warning was removed in polars 2.0.0 pypi.org - Removed
polars.convert.general.issue_warning
polars.convert.general.issue_warning was removed in polars 2.0.0 pypi.org - Removed
polars.convert.general.SupportsInterchange
polars.convert.general.SupportsInterchange was removed in polars 2.0.0 pypi.org - Removed
polars.DataFrame.__dataframe__
DataFrame.__dataframe__ was removed in polars 2.0.0 pypi.org - Removed
polars.DataFrame.approx_n_unique
Use select instead. pypi.org - Removed
polars.dataframe.frame.deprecate_renamed_parameter
polars.dataframe.frame.deprecate_renamed_parameter was removed in polars 2.0.0 pypi.org - Removed
polars.dataframe.frame.GroupBy.count
Use GroupBy.len instead. pypi.org - Removed
polars.dataframe.frame.issue_deprecation_warning
polars.dataframe.frame.issue_deprecation_warning was removed in polars 2.0.0 pypi.org - Removed
polars.dataframe.frame.PolarsDataFrame
polars.dataframe.frame.PolarsDataFrame was removed in polars 2.0.0 pypi.org - Removed
polars.dataframe.group_by.LazyGroupBy.count
Use len instead. pypi.org - Removed
polars.DataFrame.melt
Use DataFrame.unpivot instead. pypi.org - Removed
polars.DataFrame.with_row_count
Use with_row_index instead. pypi.org - Removed
polars.datatypes.classes.CategoricalOrdering
polars.datatypes.classes.CategoricalOrdering was removed in polars 2.0.0 pypi.org - Removed
polars.datatypes.classes.F
polars.datatypes.classes.F was removed in polars 2.0.0 pypi.org - Removed
polars.datatypes.constructor.PySeries.cat_is_local
PySeries.cat_is_local was removed in polars 2.0.0 pypi.org - Removed
polars.datatypes.constructor.PySeries.cat_to_local
PySeries.cat_to_local was removed in polars 2.0.0 pypi.org - Removed
polars.datatypes.constructor.PySeries.cat_uses_lexical_ordering
PySeries.cat_uses_lexical_ordering was removed in polars 2.0.0 pypi.org - Removed
polars.Enum.__or__
Enum.__or__ was removed in polars 2.0.0 pypi.org - Removed
polars.Enum.union
Enum.union was removed in polars 2.0.0 pypi.org - Removed
polars.Expr.agg_groups
Use df.with_row_index instead. pypi.org - Removed
polars.expr.array.issue_deprecation_warning
polars.expr.array.issue_deprecation_warning was removed in polars 2.0.0 pypi.org - Removed
polars.expr.categorical.deprecated
polars.expr.categorical.deprecated was removed in polars 2.0.0 pypi.org - Removed
polars.expr.categorical.ExprCatNameSpace.get_categories
Use Expr.unique instead. pypi.org - Removed
polars.expr.datetime.deprecate_nonkeyword_arguments
polars.expr.datetime.deprecate_nonkeyword_arguments was removed in polars 2.0.0 pypi.org - Removed
polars.expr.datetime.ExprDateTimeNameSpace.datetime
Use dt.replace_time_zone instead. pypi.org - Removed
polars.expr.datetime.ExprDateTimeNameSpace.with_time_unit
ExprDateTimeNameSpace.with_time_unit was removed in polars 2.0.0 pypi.org - Removed
polars.expr.expr.deprecate_renamed_parameter
polars.expr.expr.deprecate_renamed_parameter was removed in polars 2.0.0 pypi.org - Removed
polars.expr.expr.ExprMetaNameSpace.write_json
Use meta.serialize instead. pypi.org - Removed
polars.expr.expr.ExprStringNameSpace.concat
Use str.join instead. pypi.org - Removed
polars.expr.expr.ExprStringNameSpace.explode
Use str.split instead. pypi.org - Removed
polars.expr.expr.issue_deprecation_warning
polars.expr.expr.issue_deprecation_warning was removed in polars 2.0.0 pypi.org - Removed
polars.expr.expr.PyExpr.agg_groups
PyExpr.agg_groups was removed in polars 2.0.0 pypi.org - Removed
polars.expr.expr.PyExpr.cat_get_categories
PyExpr.cat_get_categories was removed in polars 2.0.0 pypi.org - Removed
polars.expr.expr.PyExpr.dt_datetime
PyExpr.dt_datetime was removed in polars 2.0.0 pypi.org - Removed
polars.expr.expr.PyExpr.dt_with_time_unit
PyExpr.dt_with_time_unit was removed in polars 2.0.0 pypi.org - Removed
polars.Expr.flatten
Use Expr.list.explode instead. pypi.org - Removed
polars.Expr.from_json
Use deserialize instead. pypi.org - Removed
polars.expr.list.exceptions
polars.expr.list.exceptions was removed in polars 2.0.0 pypi.org - Removed
polars.expr.list.issue_deprecation_warning
polars.expr.list.issue_deprecation_warning was removed in polars 2.0.0 pypi.org - Removed
polars.expr.list.issue_warning
polars.expr.list.issue_warning was removed in polars 2.0.0 pypi.org - Removed
polars.expr.list.ListToStructWidthStrategy
polars.expr.list.ListToStructWidthStrategy was removed in polars 2.0.0 pypi.org - Removed
polars.Expr.rechunk
Use df.rechunk instead. pypi.org - Removed
polars.Expr.register_plugin
Use polars.plugins.register_plugin_function instead. pypi.org - Removed
polars.Expr.shrink_dtype
Use Series.shrink_dtype instead. pypi.org
And 232 more in this version. Sign up to see every change
polars 1.0.0 breaking changes
- Removed
Deprecated top_k parameters removed in polars 1.0.0 github.com - Removed
Type aliases are no longer re-exported, so imports relying on them will fail. github.com - Removed
Deprecated functionality removed from rolling methods in polars 1.0.0 github.com - Removed
Expedited removal of deprecated functionality in polars 1.0.0 github.com - Removed
Further deprecated functionality removed in polars 1.0.0 github.com - Removed
InvalidAssert
InvalidAssert error removed in polars 1.0.0 github.com - Removed
read_database
pyxlsb engine removed from read_database in polars 1.0.0 github.com - Removed
read_database_uri
read_database_uri passthrough removed from read_database in polars 1.0.0 github.com - Renamed
ModuleUpgradeRequired
ModuleUpgradeRequired error renamed in polars 1.0.0 github.com - Renamed
PolarsPanicError
PolarsPanicError error renamed in polars 1.0.0 github.com
And 707 more in this version. Sign up to see every change
polars 0.20.0 breaking changes
- Removed
Functionality that was previously deprecated has been removed, so code still using it will break. github.com - Behavior changed
The schema produced by outer joins changed, so code depending on the old output columns or types may need updating. github.com - Behavior changed
Joins now treat null values the way SQL does, so join results with nulls may change. github.com - Behavior changed
col().count
col().count() counts valid (non-null) values, so results from existing code may differ. github.com - Behavior changed
read_parquet
read_parquet reads through Object Store rather than fsspec, so code relying on fsspec behavior may change. github.com - Behavior changed
schema
The schema and dtype methods now return instantiated DataType objects instead of previous values, so code comparing or printing them may behave differently. github.com - Behavior changed
value_counts
The column produced by value_counts is now named count instead of counts, so code referencing counts must be updated. github.com - Default changed
assert_series_equal
assert_series_equal now defaults to exact checking for integers, so comparisons that previously passed may now fail. github.com - Signature changed
polars.Array.__init__
Was def __init__(self, *args: Any, inner: PolarsDataType | PythonDataType | None = None, width: int | None = None); now def __init__(self, inner: PolarsDataType | PythonDataType, width: int). pypi.org - Signature changed
polars.Array.is_nested
Was def is_nested(self) -> bool; now @classmethod def is_nested(cls) -> bool. pypi.org
And 129 more in this version. Sign up to see every change
polars 0.19.0 breaking changes
- Removed
Various functionality deprecated before version 0.18 is no longer available. github.com - Removed
Previously deprecated behavior of vertical aggregations is no longer available. github.com - Removed
fixed_seed
The fixed_seed option is removed; use pl.set_random_seed to set the seed instead. github.com - Renamed
groupby
The groupby method is renamed to group_by; update calls to use the new name. github.com - Behavior changed
Several errors raised by the Python package now use different exception types, so except clauses may need updating. github.com - Behavior changed
Expression inputs are parsed differently, which may change how some existing inputs are interpreted. github.com - Behavior changed
Some errors raised by the Python package now have different types or messages. github.com - Behavior changed
all
The all method now uses Kleene logic for null values, which can change its results. github.com - Behavior changed
arange
arange now delegates to int_range; code relying on its previous behavior may change. github.com - Behavior changed
date_range
date_range now returns a consistent return type, which may differ from before. github.com
And 108 more in this version. Sign up to see every change
polars 0.18.0 breaking changes
- Removed
DataFrame
Subclasses of DataFrame are no longer supported. Use composition instead of subclassing. github.com - Removed
GroupBy
Subclasses of GroupBy are no longer supported. Use composition instead of subclassing. github.com - Removed
LazyFrame
Subclasses of LazyFrame are no longer supported. Use composition instead of subclassing. github.com - Removed
utc
The utc argument was removed. Offset-aware strings are now parsed as UTC timestamps automatically. github.com - Renamed
Expr.arr
The list namespace accessor was renamed from .arr to .list. Update calls to use .list. github.com - Behavior changed
The implode and explode operations now follow a formal inverse relation, which can change their results. Review code that chains them. github.com - Behavior changed
Implicit window expression behavior was removed. Code relying on it must be rewritten with explicit window expressions. github.com - Behavior changed
Operations that require the sorted flag now raise an error when it is not set. Sort the data or set the flag explicitly. github.com - Behavior changed
Equality comparisons now return null when an input is null. Check code that relied on null equaling null or on a boolean result. github.com - Behavior changed
Time zones other than those listed by zoneinfo.available_timezones() are now rejected. Use a listed time zone name. github.com
And 223 more in this version. Sign up to see every change
polars 0.14.0 breaking changes
- Signature changed
polars.convert.from_dict
Was def from_dict(data: Mapping[str, Sequence | Mapping], columns: Sequence[str] | None = None) -> DataFrame; now def from_dict(data: Mapping[str, Sequence[object] | Mapping[str, Sequence[object]]], columns: Sequence[str] | None = None) ->... pypi.org - Signature changed
polars.convert.from_numpy
Was def from_numpy(data: np.ndarray, columns: Sequence[str] | None = None, orient: Literal['col', 'row'] | None = None) -> DataFrame; now def from_numpy(data: np.ndarray[Any, Any], columns: Sequence[str] | None = None, orient... pypi.org - Signature changed
polars.DataFrame.__eq__
Was def __eq__(self: DF, other: Any) -> DF; now def __eq__(self, other: Any) -> DataFrame. pypi.org - Signature changed
polars.DataFrame.__ge__
Was def __ge__(self: DF, other: Any) -> DF; now def __ge__(self, other: Any) -> DataFrame. pypi.org - Signature changed
polars.DataFrame.__getitem__
Was def __getitem__(self: DF, item: str | int | np.ndarray | pli.Expr | list[pli.Expr] | MultiColSelector | tuple[int, MultiColSelector] | tuple[MultiRowSelector, MultiColSelector] | tuple[MultiRowSelector, int] | tuple[MultiRowSelector... pypi.org - Signature changed
polars.DataFrame.__gt__
Was def __gt__(self: DF, other: Any) -> DF; now def __gt__(self, other: Any) -> DataFrame. pypi.org - Signature changed
polars.DataFrame.__init__
Was def __init__(self, data: dict[str, Sequence[Any]] | Sequence[Any] | np.ndarray | pa.Table | pd.DataFrame | pli.Series | None = None, columns: ColumnsType | None = None, orient: Literal['col', 'row'] | None = None); now def... pypi.org - Signature changed
polars.DataFrame.__le__
Was def __le__(self: DF, other: Any) -> DF; now def __le__(self, other: Any) -> DataFrame. pypi.org - Signature changed
polars.DataFrame.__lt__
Was def __lt__(self: DF, other: Any) -> DF; now def __lt__(self, other: Any) -> DataFrame. pypi.org - Signature changed
polars.DataFrame.__ne__
Was def __ne__(self: DF, other: Any) -> DF; now def __ne__(self, other: Any) -> DataFrame. pypi.org
And 217 more in this version. Sign up to see every change
Older versions
1 older version.
Show 1 older version
polars 0.13.0 breaking changes
- Signature changed
ChunkedArray.arg_unique
The return type of ChunkedArray::arg_unique changed from Vec<u32> to UInt32Chunked. Code that uses the old return value must be updated. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.