+ 4
Python for data science
Can someone tell about operations in pandas Loc and iloc I didn't get it?
7 odpowiedzi
+ 7
loc if you are selecting by name, iloc if you're selecting by index
https://www.datacamp.com/tutorial/loc-vs-iloc
https://sololearn.com/compiler-playground/cKOdt5Vggm6v/?ref=app
+ 5
Numpy and Pandas are very broad topics.
try learning about them first and post your question if you're stuck.
+ 3
Bob_Li your code is really understandable sir... Can you have any other codes on numpy and pandas..?
+ 2
Bob_Li ok
+ 1
Hello,
In Pandas, `.loc` selects data by label, while `.iloc` selects by position. Use `.loc[row_label, column_label]` for named indexing and `.iloc[row_index, column_index]` for numerical indexing. Check out this guide for detailed examples! https://www.krogerifeedback.com
Best Regards,
James Batson