What pandas-dev/pandas shipped
Written by FoxPlug from the repository's own releases; not affiliated with pandas. Paste your own repository in the box below and FoxPlug writes the same weekly update for your product. This page is an automatic summary of the releases, pull requests and commits in github.com/pandas-dev/pandas; pandas did not write it and does not use or endorse FoxPlug. Every line links to the change it describes.
Get a weekly update like this for your product, free
Week of November 16, 2026
What shipped
- ISO 8601 duration parsing in Timedelta is now strict, correctly handling fractional hours, minutes, days and weeks instead of producing wrong values like parsing PT3.5H as 5h 0m 3s. Pull request #72136
- Nlargest and nsmallest now work on strings, object, interval, and ordered categorical data instead of raising TypeError. Pull request #72188
- DataFrame._repr_html_ now routes through
to_htmlwith a newmin_rowsparameter, so subclasses overridingto_htmlaffect notebook display. Pull request #72235 - DataFrame.from_dict with inconsistent row lengths now raises TypeError with a clear message naming the offending row and suggesting Series(...).to_frame(). Pull request #72231
- Repr and str of a Series or DataFrame containing itself no longer recurse infinitely. Pull request #72214
- Series.plot and DataFrame.plot with shared axes no longer hide tick labels on sibling subplots with each plot call. Pull request #72230
- To_csv with binary mode and no
path_or_bufnow raises a clear ValueError pointing to io.BytesIO instead of a cryptic TypeError. Pull request #72236 - NumPy ufuncs with pandas objects as the where argument no longer recurse infinitely. Pull request #72081
- To_latex and
to_csvnow handle Index, Series, or NumPy array columns correctly instead of raising or silently dropping labels. Pull request #72199 - Index.is_monotonic_increasing and
is_monotonic_decreasingno longer build the engine just to check its type, improving performance. Pull request #72260
Why it matters
This week brings stricter validation and clearer error messages for common mistakes, fixes for plotting and formatting edge cases, and performance improvements in frequently-used operations. Several long-standing bugs affecting data display and type handling are resolved, making pandas more reliable for notebook users and those working with diverse data types.
Changelog entry
- Timedelta ISO 8601 duration parser now handles fractions on all time units correctly. Pull request #72136
- Series and DataFrame nlargest/nsmallest now support strings, object, interval, and ordered categorical dtypes. Pull request #72188
- DataFrame._repr_html_ now calls
to_htmlwith newmin_rowsparameter for better subclass support. Pull request #72235 - DataFrame.from_dict raises clearer error message for inconsistent row lengths. Pull request #72231
- Series, DataFrame, and Index repr guards against infinite recursion on self-containing objects. Pull request #72214
- Series.plot and DataFrame.plot no longer hide tick labels on shared axes. Pull request #72230
- To_csv with binary mode and no
path_or_bufraises early ValueError with helpful message. Pull request #72236 - NumPy ufuncs with pandas where argument no longer cause infinite recursion. Pull request #72081
- Index monotonicity checks improved by avoiding unnecessary engine construction. Pull request #72260
- DatetimeIndex.indexer_between_time gets inclusive parameter, include_start/include_end deprecated. Pull request #72211
- Timedelta_range gets inclusive parameter, closed parameter deprecated. Pull request #72057
- To_latex and
to_csvnow correctly handle Index, Series, and array columns. Pull request #72199
Pandas 3.2 week 40: ISO 8601 durations now parse correctly, nlargest/nsmallest handle strings and categorical data, and DataFrame repr works with self-references and subclassed to_html methods.
This week in pandas: stricter ISO 8601 duration parsing fixes years of incorrect timedelta values, nlargest/nsmallest expand to strings and categorical data, DataFrame repr and HTML output gain important fixes for subclasses and self-references, and plotting no longer hides axis labels on shared subplots. Plus numerous bug fixes for edge cases in CSV/LaTeX export, ufuncs with pandas objects, and type handling.
Week of November 9, 2026
What shipped
- Added a Series.interval accessor for interval-dtype Series and interval categoricals, exposing left, right, mid, length,
is_empty, closed, contains, overlaps andset_closed. Pull request #72058 - Fixed
read_fwfraising TypeError when skiprows is a callable and colspecs are inferred. Pull request #72132 - Fixed DataFrame.loc with a list of partial tuples on a MultiIndex, which previously raised an internal AssertionError. Pull request #71323
- Made arithmetic on bool[pyarrow] data behave like NumPy bool and nullable boolean, with + as logical or and * as logical and. Pull request #72004
- Fixed a failed.loc or.at setitem that adds a new row leaving the new NaN row behind in the frame. Pull request #72028
- Fixed
read_csvignoringtrue_valuesandfalse_valuesfor boolean extension dtypes other than BooleanDtype. Pull request #72071 - Fixed object-dtype logical ops treating a missing value on the left of | and ^ as False. Pull request #71998
- Fixed datetimelike add and sub with a mismatched-length object array raising AssertionError instead of a length error. Pull request #72141
- Added
numeric_onlyto GroupBy.ohlc and Resampler.ohlc so non-numeric columns can be dropped. Pull request #72003
Why it matters
This week brought a new Series.interval accessor and a numeric_only option for ohlc, plus fixes across CSV reading, indexing, plotting, groupby and extension dtypes. The bug fixes address wrong results and internal errors in common paths such as cut on large integers, loc with partial MultiIndex keys, and failed row additions, so users on main get more consistent behavior.
Changelog entry
- Added Series.interval accessor for interval-dtype Series and interval categoricals. Pull request #72058
- Added
numeric_onlyto DataFrameGroupBy.ohlc, SeriesGroupBy.ohlc and Resampler.ohlc. Pull request #72003 - Fixed
read_fwfraising TypeError with callable skiprows when colspecs are inferred. Pull request #72132 - Fixed DataFrame.loc with a list of partial tuples on a MultiIndex raising AssertionError. Pull request #71323
- Fixed failed.loc/.at setitem with a new row leaving the new row in the frame. Pull request #72028
- Made bool[pyarrow] arithmetic match NumPy bool and nullable boolean dtypes. Pull request #72004
- Fixed
read_csvignoringtrue_valuesandfalse_valuesfor boolean extension dtypes other than BooleanDtype. Pull request #72071 - Fixed object-dtype | and ^ treating a missing value on the left as False. Pull request #71998
- Fixed datetimelike add/sub with a mismatched-length object array raising AssertionError. Pull request #72141
- Fixed DataFrame.plot raising KeyError when y includes the x column. Pull request #72129
- Fixed drop with a bytes label or an object defining only getitem. Pull request #72039
This week: new Series.interval accessor, numeric_only for GroupBy.ohlc and Resampler.ohlc, read_fwf callable skiprows fix, partial-tuple MultiIndex.loc fix, bool[pyarrow] arithmetic matching NumPy, and more fixes to cut, read_csv and logical ops on object dtype.
This week in pandas: a new Series.interval accessor exposes left, right, mid, length, closed and helpers like contains and overlaps for interval data. GroupBy.ohlc and Resampler.ohlc gained numeric_only. Fixes landed for read_fwf with callable skiprows, DataFrame.loc with partial tuples on a MultiIndex, failed.loc setitem leaving rows behind, read_csv true_values for boolean extension dtypes, cut on large nullable integers, and object-dtype logical ops treating missing values as False. bool[pyarrow] arithmetic now matches NumPy and nullable boolean behavior.
Week of November 2, 2026
What shipped
- DataFrame.iterrows is deprecated with a Pandas4Warning that directs users to itertuples. Pull request #64719
- Astype("boolean") now converts values the same way as astype(bool) instead of raising for values other than booleans, 0 and 1. Pull request #71770
- Concat no longer raises ArrowInvalid when casting large integers to a pyarrow float common dtype. Pull request #71501
- Unstack, pivot,
pivot_tableand crosstab no longer raise TypeError on complex data with missing cells. Pull request #71930 - Plotting timezone-aware datetime data containing NaT no longer raises ConversionError in line, Series.plot and scatter plots. Pull request #71879
- Groupby sum on PyArrow-backed strings now uses a native path instead of the quadratic fallback. Pull request #71927
- Mixing named and unnamed aggregations now raises a clearer error. Pull request #71789
- HDFStore.select returns the correct rows when where is combined with start, stop and columns. Pull request #71909
- To_numeric no longer raises for 0-dimensional ndarray elements. Pull request #71767
- Read_excel with dtype_backend='pyarrow' no longer crashes on mixed-type columns and falls back to object dtype. Pull request #70316
Why it matters
This week brings a breaking change to watch for: DataFrame.iterrows is deprecated in favor of itertuples. Several long-standing bugs are fixed across concat with pyarrow, complex data in pivot and unstack, plotting tz-aware data with NaT, and HDFStore.select filters. Conversions and groupby on pyarrow-backed strings also got faster or more predictable.
Changelog entry
- Deprecated DataFrame.iterrows with a Pandas4Warning; use itertuples instead. Pull request #64719
- Astype("boolean") now converts values the same way as astype(bool). Pull request #71770
- Fixed concat raising ArrowInvalid when casting large integers to a pyarrow float common dtype. Pull request #71501
- Fixed unstack, pivot,
pivot_tableand crosstab raising TypeError on complex data with missing cells. Pull request #71930 - Fixed plotting timezone-aware datetimes containing NaT raising ConversionError. Pull request #71879
- Improved performance of groupby sum on PyArrow-backed strings. Pull request #71927
- Improved error message when mixing named and unnamed aggregations. Pull request #71789
- Fixed HDFStore.select returning wrong rows with where, start, stop and columns. Pull request #71909
- Fixed
to_numericraising for 0-dimensional ndarray elements. Pull request #71767 - Fixed
read_excelwith dtype_backend='pyarrow' crashing on mixed-type columns. Pull request #70316 - Fixed NaN being converted to NA for nullable dtypes under future.distinguish_nan_and_na. Pull request #71870
- Fixed SparseArray timedelta64 arithmetic with unsupported units and
from_indicesvalidation. Pull request #71872
DataFrame.iterrows is deprecated, use itertuples. This week also fixes concat with pyarrow floats, complex data in pivot and unstack, plotting tz-aware data with NaT, and HDFStore.select filters, plus clearer errors for mixed aggregations and faster groupby sum on pyarrow strings
This week in pandas: DataFrame.iterrows is deprecated with a warning pointing to itertuples. Fixes include concat no longer raising ArrowInvalid when casting large integers to a pyarrow float, unstack, pivot and pivot_table working on complex data with missing cells, plotting tz-aware datetimes with NaT no longer raising ConversionError, HDFStore.select returning correct rows with where and start/stop/columns, and read_excel with the pyarrow backend handling mixed-type columns. astype("boolean") now converts like astype(bool), mixing named and unnamed aggregations gives a clearer error, and groupby sum on PyArrow-backed strings uses a faster path.
Week of October 26, 2026
What shipped
- Series.dt.shift was added, shifting datetime64, timedelta64 and period values by periods times a frequency instead of by position. Pull request #71734
- Series.hist and Series.plot.hist no longer pass timedelta data to matplotlib, where the hist call raised a version-dependent error. Pull request #71788
- Series.plot.hist no longer draws empty bars for all-datetime data; bin edges are now computed for the dates. Pull request #71416
- Categorical.map and related maps on categorical data now return an object-dtype result when the mapper produces unhashable values, instead of raising. Pull request #70508
- Object hash tables now compare hashes as well as equality, so equal keys with different hashes such as a string and a dtype are matched reliably. Pull request #71454
- In-place operations no longer upcast when the other operand has labels missing from self. Pull request #71324
- DataFrame.dropna with a partial MultiIndex key in subset now works the same way as df[subset] on both axes. Pull request #71329
- To_numeric now correctly rounds values written with a leading plus sign. Pull request #71453
- Resampling on a tz-aware index no longer mishandles bin edges that fall in a DST gap or fold. Pull request #71261
- Infer_freq now infers semi-monthly frequencies. Pull request #69464
Why it matters
This week mixed new capability with correctness work: a long-requested datetime shift landed on Series.dt, while several long-standing plotting, indexing, parsing and resampling bugs were fixed. Users plotting timedelta or datetime histograms, mapping categoricals to unhashable values, and resampling across DST changes should see fewer errors and wrong results.
Changelog entry
- Added Series.dt.shift for datetime64, timedelta64 and period Series. Pull request #71734
- Fixed Series.hist and Series.plot.hist raising on timedelta data. Pull request #71788
- Fixed Series.plot.hist drawing empty bars for all-datetime data. Pull request #71416
- Fixed Categorical.map and Series.map on categorical data raising when the mapper returns unhashable values; now returns object dtype. Pull request #70508
- Fixed object hash tables failing to match keys that are equal but hash differently. Pull request #71454
- Fixed in-place ops upcasting when the other operand has labels not in self. Pull request #71324
- Fixed DataFrame.dropna raising KeyError for a partial MultiIndex key in subset. Pull request #71329
- Fixed
to_numericnot correctly rounding values with a leading plus sign. Pull request #71453 - Fixed resample on a tz-aware index with bin edges in a DST gap or fold. Pull request #71261
- Fixed
infer_freqnot inferring semi-monthly frequencies. Pull request #69464 - Fixed
to_jsonwriting floats near the float64 maximum that read back as inf. Pull request #71325 - Fixed HTTP readers raising UnicodeEncodeError on URLs with non-ASCII characters. Pull request #71326
This week: Series.dt.shift lands. Histograms on timedelta and datetime data draw correctly. Fixes for categorical.map with unhashable results, to_numeric rounding with a leading plus, dropna with partial MultiIndex keys, and resampling across DST gaps.
This week in pandas: Series.dt.shift was added for datetime64, timedelta64 and period Series, shifting values by a frequency rather than by position. Histogram fixes: Series.hist and plot.hist no longer pass timedelta data to matplotlib, and plot.hist now computes proper bin edges for all-datetime data instead of drawing empty bars. Bug fixes cover categorical.map returning object results for unhashable values, object hash table matching for keys with equal values but different hashes, in-place ops no longer upcasting when the other operand has extra labels, dropna with partial MultiIndex subset keys, to_numeric rounding of values with a leading plus, and resampling on tz-aware indexes with edges in a DST gap or fold. infer_freq now also infers semi-monthly frequencies.
Week of October 19, 2026
What shipped
- Pandas 3.1.0 was released with new features, bug fixes and performance improvements, including DataFrame.select with an updated DataFrame.filter and a faster
read_csv. Release - To_json and
to_xmlnow emit a RuntimeWarning when compression is ignored because no path was given, matchingto_csv. Pull request #71328 - Timestamp and
to_datetimeno longer read a comma as a decimal separator that silently corrupted parsed dates. Pull request #68921 - ArrowExtensionArray now raises instead of silently truncating fractional values assigned from a list into an integer dtype. Pull request #71076
- DataFrame.isetitem and setitem now fill every requested position when given a scalar with several positions. Pull request #71098
- To_sql append no longer lists every table in the schema, avoiding a lock on SQL Server when another session has uncommitted DDL. Pull request #71404
- HDFStore.remove now handles unsorted coordinates correctly. Pull request #71488
- IntervalIndex.mid and IntervalArray.mid no longer return wrong values when left plus right overflows the endpoint dtype. Pull request #71389
- Interval_range no longer loses precision for large integer start, end and freq values. Pull request #71457
- Multi-column DataFrame.explode reuses the native explode values and row counts, speeding up the operation. Pull request #71267
Why it matters
This week brought the 3.1.0 release, so users can upgrade to get DataFrame.select, faster read_csv and a large batch of fixes. Alongside it, several silent data problems were closed, including comma-separated dates being misparsed, fractional values truncated into integer Arrow arrays, and wrong IntervalIndex midpoints on overflow.
Changelog entry
- Released pandas 3.1.0. Release
- To_json and
to_xmlwarn when compression is ignored without a path. Pull request #71328 - Fixed comma being read as a decimal separator in parsed dates. Pull request #68921
- ArrowExtensionArray raises instead of truncating fractional values set from a list into an integer dtype. Pull request #71076
- Fixed isetitem and setitem storing one column for several positions. Pull request #71098
- To_sql append no longer lists every table in the schema. Pull request #71404
- Fixed HDFStore.remove with unsorted coordinates. Pull request #71488
- Fixed IntervalIndex.mid overflow for numeric endpoints. Pull request #71389
- Fixed precision loss in
interval_rangefor large integer endpoints. Pull request #71457 - Sped up multi-column DataFrame.explode. Pull request #71267
- Styler text repr now shows the data. Pull request #71499
- Repeat(axis=) is now required for 2-D-capable ExtensionArrays. Pull request #71500
Pandas 3.1.0 is out, with DataFrame.select, an updated filter and a faster read_csv. This week also fixed silently misparsed dates with commas, fractional values truncated into integer Arrow arrays, and wrong IntervalIndex midpoints on overflow.
Pandas 3.1.0 has been released. It includes DataFrame.select with an updated DataFrame.filter, a faster read_csv, and many bug fixes and performance improvements. Also merged this week: to_json and to_xml now warn when compression is ignored because no path was given; comma-separated input is no longer misread as a decimal separator in parsed dates; integer Arrow arrays raise instead of silently truncating fractional values set from a list; DataFrame.isetitem fills every position when given a scalar; to_sql append no longer lists every table in the schema; HDFStore.remove handles unsorted coordinates; IntervalIndex.mid and interval_range no longer lose precision on large or overflowing integer endpoints.
Week of October 12, 2026
What shipped
- Read_xml with iterparse no longer resolves external entities on lxml versions before 6.1. Pull request #71171
- Where and mask now treat NA in a nullable boolean condition as False, consistently across methods and inplace. Pull request #69658
- DatetimeIndex and TimedeltaIndex gain a
set_freqmethod that returns a new index and leaves the original unchanged. Pull request #70105 - In-place replace with a list-like or dict of values no longer uses quadratic memory. Pull request #69499
- Read_html falls back to the bs4 engine instead of crashing when lxml is missing and no flavor is given. Pull request #70868
- DataFrame.pivot with a list of values no longer casts the columns to a common dtype. Pull request #71087
- Repr and
to_stringnow ignore ANSI color codes when computing column widths. Pull request #69790 - A datetime dtype no longer undoes
parse_dateswhen a column appears in bothparse_datesand dtype inread_csv. Pull request #71026 - Groupby min and max, and cummin and cummax, no longer return inf for all-NaN nullable float groups. Pull request #71227
Why it matters
This week brings security and parsing fixes to read_xml and read_html, makes where and mask handle NA in nullable boolean conditions consistently, and removes a memory blow-up in in-place replace with many values. Several long-standing bugs in pivoting, interpolation precision, repr alignment and groupby min/max are also resolved.
Changelog entry
- Fixed
read_xmlwith parser lxml and iterparse expanding external entities on lxml versions before 6.1. Pull request #71171 - Fixed
read_htmlcrashing instead of falling back to bs4 when lxml is not installed and no flavor is given. Pull request #70868 - Where and mask now treat NA in a nullable boolean condition as False. Pull request #69658
- Added DatetimeIndex.set_freq and TimedeltaIndex.set_freq, which return a new index with the given freq. Pull request #70105
- Fixed in-place replace with a list-like or dict of values using memory proportional to the number of values times the data length. Pull request #69499
- Fixed DataFrame.pivot with a list of values casting the columns to a common dtype. Pull request #71087
- Fixed
to_stringand repr counting ANSI color codes toward column width. Pull request #69790 - Fixed dtype undoing
parse_datesinread_csvwhen a column is listed in both. Pull request #71026 - Fixed groupby min, max, cummin and cummax returning inf for all-NaN nullable float groups. Pull request #71227
- Fixed MultiIndex.rename rejecting the name keyword. Pull request #70915
- Fixed
to_stataraising for an empty categorical column. Pull request #71126
This week: read_xml iterparse no longer resolves external entities on older lxml; where/mask treat NA in nullable boolean conditions as False; set_freq added to DatetimeIndex and TimedeltaIndex; in-place replace with many values no longer uses quadratic memory.
This week in pandas: read_xml with iterparse no longer resolves external entities on lxml versions before 6.1, and read_html falls back to bs4 when lxml is missing. where and mask now treat NA in a nullable boolean condition as False, consistently across methods and inplace. DatetimeIndex and TimedeltaIndex gain set_freq, which returns a new index without mutating the original. In-place replace with a list-like or dict of values no longer uses quadratic memory. Interpolation on nanosecond DatetimeIndex keeps full precision, pivot with a list of values preserves column dtypes, repr ignores ANSI color codes for column widths, and groupby min/max no longer return inf for all-NaN nullable float groups.
Week of October 5, 2026
What shipped
- DataFrame axis=1 reductions no longer accumulate each block in its own dtype, repairing a silent wrong-answer regression in the block-wise fast path. Pull request #68641
- Rolling and Expanding skew and kurt now give correct results on data carrying a large shared offset, where deviations previously lost precision against the running mean. Pull request #68934
- DataFrame.isetitem with an out-of-order loc no longer corrupts the block structure when replaced positions share a block. Pull request #68930
- DataFrame.values,
to_numpyand DataFrame.T no longer turn missing values in integer or boolean Categorical columns into arbitrary integers. Pull request #70959 - A boolean label such as False that genuinely exists in an object-dtype index or MultiIndex level can now be selected with loc. Pull request #69495
- ArrowDtype string arrays are parsed as datetimelike values the same way the equivalent StringDtype data is, so mixed usage behaves consistently. Pull request #70961
- To_json no longer drops nanoseconds from tz-aware DataFrame columns and from Timestamp objects stored in object-dtype data, in iso and epoch formats. Pull request #71019
- Concatenating or joining MultiIndexes with unorderable level values no longer emits a spurious RuntimeWarning about sort order. Pull request #70566
- Read_csv accepts a DatetimeTZDtype in the dtype argument with the c and python engines, matching what the pyarrow engine already allowed. Pull request #70960
- DataFrame.duplicated and
drop_duplicateswith an empty subset no longer raise ValueError and instead mark no rows as duplicates. Pull request #70826
Why it matters
This week brought several fixes for silently wrong answers: axis=1 reductions mixed block dtypes, skew and kurt lost precision on offset data, and isetitem reordered positions corrupted blocks. It also tightened JSON input and output, JSON reading of all-null series, JSON writing of nanoseconds, and MultiIndex joins, plus new dtype support in read_csv. Many changes are documentation and regression tests pinning behavior that users depend on.
Changelog entry
- Fixed silent wrong results in DataFrame axis=1 reductions, which accumulated each block in that block's own dtype Pull request #68641
- Fixed Rolling and Expanding skew and kurt returning wrong values on data with a large shared offset Pull request #68934
- Fixed DataFrame.isetitem with an out-of-order loc corrupting the block structure Pull request #68930
- Fixed DataFrame.values,
to_numpyand DataFrame.T turning missing values in integer or boolean Categorical columns into arbitrary integers Pull request #70959 - Fixed loc raising KeyError when a boolean label such as False was a real label in an object-dtype index or MultiIndex level Pull request #69495
- Fixed ArrowDtype string arrays not being parsed as datetimelike values Pull request #70961
- Fixed
to_jsondropping nanoseconds from tz-aware columns and Timestamp objects in object-dtype data Pull request #71019 - Fixed spurious RuntimeWarning when concatenating MultiIndexes with unorderable level values Pull request #70566
- Fixed DataFrame.duplicated and
drop_duplicatesraising ValueError for an empty subset Pull request #70826 - Added support for DatetimeTZDtype in
read_csvdtype with the c and python engines Pull request #70960 - Fixed astype of mixed int and str object data to nullable integer raising despite an exact cast Pull request #69783
- Fixed
to_jsonwith orient=table andbuild_table_schemaraising AttributeError for MultiIndex with non-string level names Pull request #71062
This week: fixed silent wrong answers in axis=1 reductions, skew and kurt on offset data, and isetitem with out-of-order positions. JSON gained back its lost nanoseconds, loc now finds real False labels, and read_csv accepts DatetimeTZDtype.
This week's changes focus on correctness. Axis=1 reductions no longer accumulate each block in its own dtype, Rolling and Expanding skew and kurt now handle data with a large shared offset, and isetitem with out-of-order positions no longer corrupts the block structure. JSON handling improved on both sides: to_json keeps nanoseconds for tz-aware columns and Timestamp objects in object data, and read_json with typ=series no longer parses all-null data as datetime64. loc can select a real False label in object and MultiIndex indexes, integer and boolean Categorical columns keep their missing values through values, to_numpy and T, and read_csv accepts DatetimeTZDtype with the c and python engines. Docs and regression tests filled in the rest.
Week of September 28, 2026
What shipped
- Enabled mypy's
disallow_any_genericsflag across the codebase, improving type safety by requiring explicit type parameters on generic classes. Pull request #70221 - Fixed
read_sql_tableto handle SQLAlchemy 2.1's Float type correctly, preventing float columns from being unexpectedly rounded to 10 decimal places. Pull request #70231 - Fixed
read_sqlto handle psycopg2 DictCursor with duplicate column names by preserving all columns instead of dropping duplicates. Pull request #70229 - Fixed Series.var/std/sem on float16 to compute results in float64 and handle overflow correctly instead of silently returning inf or 0. Pull request #70146
- Fixed Series.mean on float16 with more than 2048 values, which was silently returning 0 due to float16 count overflow. Pull request #70223
- Fixed DataFrame.agg regression where passing an ndarray or Index of function names raised ValueError instead of executing aggregation. Pull request #70227
- Fixed Timestamp subtraction with 0-dimensional timedelta64 ndarray to handle scalar conversion in overflow guard correctly. Pull request #70298
- Fixed SparseArray.astype to preserve Timestamp/Timedelta fill values on object subtypes instead of converting them to numeric. Pull request #70225
- Fixed bar and barh plots on timedelta64 data containing NaT, which was raising TypeError due to invalid type coercion. Pull request #69656
- Fixed repr of longdouble values outside float64 range to display correctly instead of showing 0 or inf due to format casting. Pull request #69647
Why it matters
This week shipped fixes for data type handling edge cases and compatibility updates, particularly around float16 calculations, SQLAlchemy 2.1, and various type system improvements. Several regressions from recent releases were addressed with backports to the 3.1.x branch.
Changelog entry
- COMPAT:
read_sql_tableno longer rounds float columns with SQLAlchemy 2.1 Pull request #70231 - BUG:
read_sqlwith psycopg2 DictCursor now preserves duplicate column names Pull request #70229 - BUG: Timestamp subtraction with 0-dim timedelta64 ndarray no longer raises TypeError Pull request #70298
- BUG: Series.var/std/sem on float16 no longer overflow or silently return 0 Pull request #70146
- BUG: DataFrame.agg with ndarray or Index of function names no longer raises ValueError Pull request #70227
- BUG: SparseArray.astype preserves Timestamp/Timedelta fill values on object subtype Pull request #70225
- BUG: Series.mean on float16 with >2048 values now returns correct result Pull request #70223
- BUG: repr of longdouble values outside float64 range now displays correctly Pull request #69647
- BUG: bar/barh plots no longer raise on timedelta64 data containing NaT Pull request #69656
- TYP: Enabled mypy
disallow_any_genericsfor improved type safety Pull request #70221
Pandas shipped this week: SQLAlchemy 2.1 float handling, float16 variance fixes, DataFrame.agg with array function names, SparseArray fill values, and stricter type checking with mypy.
This week's pandas releases focus on data type handling and compatibility. Fixed float16 calculations that were silently returning incorrect values, improved SQLAlchemy 2.1 support, resolved psycopg2 duplicate column issues, and enabled stricter mypy type checking across the codebase. Multiple regressions from recent releases were also backported to the stable branch.
Week of September 21, 2026
What shipped
- Fixed
to_csvwith quoting parameter writing float32 values with float64 representation. Pull request #69490 - Added clearer error message when Series is constructed from a DataFrame, suggesting df.iloc[:, 0]. Pull request #69491
- Fixed
to_stringformatters adding unwanted leading spaces to object and nullable columns. Pull request #69627 - Fixed default datetime/period formats to zero-pad years before 1000 for consistent output. Pull request #69635
- Float-valued index and Series names now respect display.precision setting. Pull request #69640
- GroupBy.min/max on Arrow date, time and binary columns now use PyArrow's
group_byfor better performance. Pull request #69488 - Fixed
select_dtypesfailing to recognize int64 results from numexpr due to nonstandard type representation. Pull request #69427 - Read_excel now infers engine from workbook objects (openpyxl, pyxlsb,
python_calamine, odf) without requiring explicit engine parameter. Pull request #69457 - Stata reader error message now names the value label set key, which differs from column names in Stata files. Pull request #69507
- Fixed RangeIndex.symmetric_difference incorrectly skipping sort when one side is empty and the other is descending. Pull request #68358
Why it matters
This week brings formatting consistency improvements for numeric types, clearer error messages for common mistakes, and better engine inference for Excel files. Performance optimizations for grouped operations on Arrow data and fixes for type recognition issues address long-standing bugs that affected data integrity and usability.
Changelog entry
- Bug fixes: datetime/period default formats zero-pad years before 1000; float index/Series names respect display.precision Pull request #69635
- Performance: GroupBy.min/max on Arrow date, time, binary columns use PyArrow's
group_byPull request #69488 - Documentation: Stata reader error messages clarified to show value label set names; plotting backend documentation updated Pull request #69507
This week: clearer errors for Series(DataFrame), consistent float formatting in CSV, better groupby performance on Arrow data, and automatic engine detection for Excel workbooks.
This week's pandas updates focus on output consistency and user experience. Float values now format correctly in CSV with quoting, index names respect display settings, datetime years zero-pad properly, and formatters work uniformly across column types. Performance improvements route Arrow date/time/binary groupby operations through native PyArrow. Engine detection for read_excel now works with openpyxl, pyxlsb, and python_calamine workbook objects.