Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Чим принципово відрізняється .loc від .iloc у Pandas DataFrame?
.loc
.iloc
.loc вибирає рядки, .iloc - стовпці.
.loc вибирає дані за мітками (labels) індексу, .iloc - за числовими позиціями (integer positions).
.loc створює копію, .iloc - "вид" (view).
.loc швидший, ніж .iloc.
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!