loc是select by label(name) loc函数是选择dataframe中那一行的index == k的
index == k
loc是select by position loc函数是选择dataframe中第position行
position
DataFrame loc和iloc的区别
原文:https://www.cnblogs.com/woxiaosade/p/12229855.html