Pandas使用教程(五)

一、Difference between loc,iloc and ix 1.loc 2.iloc loc与iloc的不同:列表切片:iloc不包含右侧,loc包含右侧。因为loc基于label,而iloc基于location 3.ix ix不建议使用,因为当label是数值型时,使用loc的规则,当label是字符串型时,使用iloc规则 二、When to use the “inplace”
相关文章
相关标签/搜索