loc and iloc of Python Pandas

df.loc gets data by label index

 df.iloc gets data by position index

 

Guess you like

Origin blog.csdn.net/Ghjkku/article/details/131386867