[Python] Python Pandas: Does 'loc' and 'iloc' stand for anything?

Discussão em 'Python' iniciado por Stack, Fevereiro 20, 2025.

  1. Stack

    Stack Membro Participativo

    I've been using pandas for a while now, I understand what loc and iloc do. But till this day I don't know if these two things stand for something? Are they short for something or abbreviations? Or are they just random?

    I interpret iloc as 'index-based-location' which makes sense, but loc is a bit problematic to me, I interpret it as 'location' but it doesn't shout 'label-based-location', why couldn't they call it lloc?

    Continue reading...

Compartilhe esta Página