代码改变世界

pandas. dataframe

2017-07-25 10:55  xplorerthik  阅读(166)  评论(0编辑  收藏  举报
  • loc works on labels in the index. 
  • iloc works on the positions in the index (so it only takes integers).
  • ix usually tries to behave like loc but falls back to behaving like iloc if the label is not in the index.