pandas中的loc和iloc
loc是指location的意思,iloc中的i是指integer。这两者的区别如下:loc works on labels in the index.iloc works on the positions in the index (so it only takes integers)也就是说loc是根据index来索引,如果table定义了一个index,那么loc就根据这个inde...