[Python] What does "three dots" in Python mean when indexing what looks like a number?

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

  1. Stack

    Stack Membro Participativo

    What is the meaning of x[...] below?

    a = np.arange(6).reshape(2,3)
    for x in np.nditer(a, op_flags=['readwrite']):
    x[...] = 2 * x

    Continue reading...

Compartilhe esta Página