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」
相關文章
相關標籤/搜索