1.2.4中的新特性(2021年4月12日)#
这些是Pandas1.2.4中的变化。看见 发行说明 获取完整的更改日志,包括其他版本的Pandas。
固定回归#
Fixed regression in
DataFrame.sum()
whenmin_count
greater than theDataFrame
shape was passed resulted in aValueError
(GH39738)修复了中的回归问题
DataFrame.to_json()
加薪AttributeError
当在PyPy上运行时 (GH39837 )固定回归在(In)相等比较中
pd.NaT
返回标量而不是数组的非日期时间类Numy数组 (GH40722 )修复了中的回归问题
DataFrame.where()
在全部为True的情况下不返回副本 (GH39595 )修复了中的回归问题
DataFrame.replace()
加薪IndexError
什么时候regex
是一本多关键字词典 (GH39338 )Fixed regression in repr of floats in an
object
column not respectingfloat_format
when printed in the console or outputted throughDataFrame.to_string()
,DataFrame.to_html()
, andDataFrame.to_latex()
(GH40024)Fixed regression in NumPy ufuncs such as
np.add
not passing through all arguments forDataFrame
(GH40662)
贡献者#
共有9人为此次发布贡献了补丁。名字中带有“+”的人第一次贡献了一个补丁。
Fangchen Li
Joris Van den Bossche
Matthew Zeitlin
MeeseeksMachine
Pandas Development Team
Simon Hawkins
jbrockmendel
mzeitlin11
patrick