1.3.3中的新特性(2021年9月12日)#

这些是Pandas1.3.3中的变化。看见 发行说明 获取完整的更改日志,包括其他版本的Pandas。

固定回归#

  • Fixed regression in DataFrame constructor failing to broadcast for defined Index and len one list of Timestamp (GH42810)

  • 修复了中的回归问题 GroupBy.agg() 在某些情况下错误地提高 (GH42390 )

  • Fixed regression in GroupBy.apply() where nan values were dropped even with dropna=False (GH43205)

  • Fixed regression in GroupBy.quantile() which was failing with pandas.NA (GH42849)

  • 修复了中的回归问题 merge() 哪里 on 带有的柱 ExtensionDtypebool 数据类型被强制转换为 object 在……里面 rightouter 合并 (GH40073 )

  • Fixed regression in RangeIndex.where() and RangeIndex.putmask() raising AssertionError when result did not represent a RangeIndex (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聚合将导致这些列的结果 (GH42395GH43108 )

  • 修复了中的回归问题 Series.fillna() 加薪 TypeError 灌装时 float Series 具有类似列表的填充值的dtype不能可靠地强制转换(如 float32 充满了 float64 ) (GH43424 )

  • 修复了中的回归问题 read_csv() 加薪 AttributeError 当文件句柄为 tempfile.SpooledTemporaryFile 对象 (GH43439 )

  • Fixed performance regression in core.window.ewm.ExponentialMovingWindow.mean() (GH42333)

性能改进#

  • 性能提升 DataFrame.__setitem__() 当键或值不是 DataFrame ,或者密钥不是列表形式的 (GH43274 )

错误修复#

贡献者#

共有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 +