Point out the wrong statement.

to_array. append can accept scalar values or any 2-dimensional sequence
Two kinds of SparseIndex are implemented
The integer format keeps an arrays of all of the locations where the data are not equal to the fill value
None of the mentioned

The correct answer is: A. to_array. append can accept scalar values or any 2-dimensional sequence.

The other options are correct.

  • Two kinds of SparseIndex are implemented: integer and boolean.
  • The integer format keeps an arrays of all of the locations where the data are not equal to the fill value.

To_array.append can only accept a 2-dimensional sequence. A scalar value is not a 2-dimensional sequence.

Exit mobile version