What’s new in 1.4.4 (August 31, 2022)¶
These are the changes in pandas 1.4.4. See Release notes for a full changelog including other versions of pandas.
Fixed regressions¶
Fixed regression in
DataFrame.fillna()
not working on aDataFrame
with aMultiIndex
(GH47649)Fixed regression in taking NULL
objects
from aDataFrame
causing a segmentation violation. These NULL values are created bynumpy.empty_like()
(GH46848)Fixed regression in
concat()
materializing theIndex
during sorting even if theIndex
was already sorted (GH47501)Fixed regression in
concat()
ormerge()
handling of all-NaN ExtensionArrays with custom attributes (GH47762)Fixed regression in calling bitwise numpy ufuncs (for example,
np.bitwise_and
) on Index objects (GH46769)Fixed regression in
cut()
when using adatetime64
IntervalIndex as bins (GH46218)Fixed regression in
DataFrame.select_dtypes()
whereinclude="number"
includedBooleanDtype
(GH46870)Fixed regression in
DataFrame.loc()
raising error when indexing with aNamedTuple
(GH48124)Fixed regression in
DataFrame.loc()
not updating the cache correctly after values were set (GH47867)Fixed regression in
DataFrame.loc()
not aligning index in some cases when setting aDataFrame
(GH47578)Fixed regression in
DataFrame.loc()
setting a length-1 array like value to a single value in the DataFrame (GH46268)Fixed regression when slicing with
DataFrame.loc()
withDatetimeIndex
with aDateOffset
object for itsfreq
(GH46671)Fixed regression in setting
None
or non-string value into astring
-dtype Series using a mask (GH47628)Fixed regression in updating a DataFrame column through Series
__setitem__
(using chained assignment) not updating column values inplace and using too much memory (GH47172)Fixed regression in
DataFrame.select_dtypes()
returning a view on the original DataFrame (GH48090)Fixed regression using custom Index subclasses (for example, used in xarray) with
reset_index()
orIndex.insert()
(GH47071)Fixed regression in
intersection()
when theDatetimeIndex
has dates crossing daylight savings time (GH46702)Fixed regression in
merge()
throwing an error when passing aSeries
with a multi-level name (GH47946)Fixed regression in
DataFrame.eval()
creating a copy when updating inplace (GH47449)Fixed regression where getting a row using
DataFrame.iloc()
withSparseDtype
would raise (GH46406)
Bug fixes¶
The
FutureWarning
raised when passing arguments (other thanfilepath_or_buffer
) as positional inread_csv()
is now raised at the correct stacklevel (GH47385)Bug in
DataFrame.to_sql()
whenmethod
was acallable
that did not return anint
and would raise aTypeError
(GH46891)Bug in
DataFrameGroupBy.value_counts()
wheresubset
had no effect (GH46383)Bug when getting values with
DataFrame.loc()
with a list of keys causing an internal inconsistency that could lead to a disconnect betweenframe.at[x, y]
vsframe[y].loc[x]
(GH22372)Bug in the
Series.dt.strftime()
accessor return a float instead of object dtype Series for all-NaT input, which also causes a spurious deprecation warning (GH45858)
Other¶
The minimum version of Cython needed to compile pandas is now
0.29.32
(GH47978)