pandas的数据结构DataFrame的常用操作

DataFrame的取值:loc、iloc、ix;三者之间的区别

loc主要用字符或逻辑来索引,iloc主要用数字来索引,而ix两者的功能都具备

DataFrame的索引:index

DataFrame的元素值:values

把DataFrame变成ndarray的方法;values和matrix

猜你喜欢

转载自blog.csdn.net/gf18381303772/article/details/86625257