+ 4

Python for data science

Can someone tell about operations in pandas Loc and iloc I didn't get it?

3rd Jun 2025, 1:17 AM
Bibi ayesha
Bibi ayesha - avatar
7 ответов
+ 7
3rd Jun 2025, 1:56 AM
Bob_Li
Bob_Li - avatar
+ 5
Numpy and Pandas are very broad topics. try learning about them first and post your question if you're stuck.
3rd Jun 2025, 5:13 AM
Bob_Li
Bob_Li - avatar
+ 3
Bob_Li your code is really understandable sir... Can you have any other codes on numpy and pandas..?
3rd Jun 2025, 4:17 AM
Bibi ayesha
Bibi ayesha - avatar
+ 2
3rd Jun 2025, 6:40 AM
Bibi ayesha
Bibi ayesha - avatar
+ 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
10th Jun 2025, 9:46 AM
James Batson