One - One Code All

Blog Content

python中pandas索引数据ix ,iloc ,loc 的区别

Python 统计学-科学计算   2011-01-02 10:05:05

loc——通过行标签索引行数据
iloc——通过行号索引行数据
ix——通过行标签或者行号索引行数据(基于loc和iloc 的混合)
同理,索引列数据也是如此!


上一篇:求二叉树的深度和宽度
下一篇:Python 广度优先/深度优先遍历二叉树

The minute you think of giving up, think of the reason why you held on so long.