1.3.3中的新特性(2021年9月12日)#
这些是Pandas1.3.3中的变化。看见 发行说明 获取完整的更改日志,包括其他版本的Pandas。
固定回归#
Fixed regression in
DataFrameconstructor failing to broadcast for definedIndexand len one list ofTimestamp(GH42810)修复了中的回归问题
GroupBy.agg()在某些情况下错误地提高 (GH42390 )Fixed regression in
GroupBy.apply()wherenanvalues were dropped even withdropna=False(GH43205)Fixed regression in
GroupBy.quantile()which was failing withpandas.NA(GH42849)修复了中的回归问题
merge()哪里on带有的柱ExtensionDtype或bool数据类型被强制转换为object在……里面right和outer合并 (GH40073 )Fixed regression in
RangeIndex.where()andRangeIndex.putmask()raisingAssertionErrorwhen result did not represent aRangeIndex(GH43240)修复了中的回归问题
read_parquet()其中fastparquet引擎无法在FastFloet 0.7.0下正常工作 (GH43075 )修复了中的回归问题
DataFrame.loc.__setitem__()加薪ValueError将数组设置为单元格值时 (GH43422 )修复了中的回归问题
is_list_like()其中,对象具有__iter__设置为None将被标识为可迭代的 (GH43373 )修复了中的回归问题
DataFrame.__getitem__()切片的提升误差DatetimeIndex当索引非单调时 (GH43223 )修复了中的回归问题
Resampler.aggregate()在列选择之后使用时,将引发func是聚合函数的列表 (GH42905 )修复了中的回归问题
DataFrame.corr()对于具有重复值的列,Kendall关联将产生不正确的结果 (GH43401 )修复了中的回归问题
DataFrame.groupby()删除了对象类型的列的WHERE聚合将导致这些列的结果 (GH42395 , GH43108 )修复了中的回归问题
Series.fillna()加薪TypeError灌装时floatSeries具有类似列表的填充值的dtype不能可靠地强制转换(如float32充满了float64) (GH43424 )修复了中的回归问题
read_csv()加薪AttributeError当文件句柄为tempfile.SpooledTemporaryFile对象 (GH43439 )Fixed performance regression in
core.window.ewm.ExponentialMovingWindow.mean()(GH42333)
性能改进#
错误修复#
Fixed bug in
DataFrameGroupBy.agg()andDataFrameGroupBy.transform()withengine="numba"whereindexdata was not being correctly passed intofunc(GH43133)
贡献者#
共有18人为此次发布贡献了补丁。名字中带有“+”的人第一次贡献了一个补丁。
Ali McMaster
Irv Lustig
Matthew Roeschke
Matthew Zeitlin
MeeseeksMachine
Pandas Development Team
Patrick Hoefler
Prerana Chakraborty +
Richard Shadrach
Shoham Debnath
Simon Hawkins
Thomas Li
Torsten Wörtwein
Zach Rait +
aiudirog +
attack68
jbrockmendel
suoniq +