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

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

固定回归#

  • 修复了中的回归问题 Series.equals() 将具有数据类型对象的浮点数与None进行比较时 (GH44190 )

  • 修复了中的回归问题 merge_asof() 将数组作为联接键提供时引发错误 (GH42844 )

  • Fixed regression when resampling DataFrame with DateTimeIndex with empty groups and uint8, uint16 or uint32 columns incorrectly raising RuntimeError (GH43329)

  • 修复了在创建 DataFrame 从支持时区的 Timestamp 接近夏令时转换的标量 (GH42505 )

  • Fixed performance regression in read_csv() (GH44106)

  • 修复了中的回归问题 Series.duplicated()Series.drop_duplicates() 当系列赛有 Categorical 包含布尔类别的数据类型 (GH44351 )

  • 修复了中的回归问题 GroupBy.sum() 使用 timedelta64[ns] 数据类型包含 NaT 未能将该值视为NA (GH42659 )

  • 修复了中的回归问题 RollingGroupby.cov()RollingGroupby.corr() 什么时候 other 具有与每个组相同的形状,则会在结果中错误地返回多余的组 (GH42915 )

贡献者#

共有10人为此次发布贡献了补丁。名字中带有“+”的人第一次贡献了一个补丁。

  • Ali McMaster

  • Matthew Roeschke

  • Matthew Zeitlin

  • MeeseeksMachine

  • Pandas Development Team

  • Patrick Hoefler

  • Simon Hawkins

  • Thomas Li

  • Tobias Pitters

  • jbrockmendel