摘要: '\n尽量利用pandas提供的专用索引方式,而不是python通用的切片方式。\n三种主要的索引方式:indexers\n.loc label based 基于标签, 可以是标签名,可以是布尔值,可以是一元函数\n.iloc integer psition based 基于整数位置(from 0 阅读全文
posted @ 2018-02-22 15:50 食古不化 阅读(522) 评论(0) 推荐(0)
摘要: [['bar', 'bar', 'baz', 'baz', 'foo', 'foo', 'qux', 'qux'], ['one', 'two', 'one', 'two', 'one', 'two', 'one', 'two']] [('bar', 'one'), ('bar', 'two'), 阅读全文
posted @ 2018-02-22 15:47 食古不化 阅读(1228) 评论(0) 推荐(0)