KnowledgeBoat Logo
|

Informatics Practices

Which of the following statement is wrong ?

  1. We can't change the index of the series
  2. We can easily convert the list, tuple, and dictionary into a series
  3. A series represents a single column in memory
  4. We can create empty series.

Python Pandas

5 Likes

Answer

We can't change the index of the series

Reason — We can change or rename the indexes of a Series object by assigning a new index array to its index attribute. The syntax is <Object>.index = <new index array>.

Answered By

1 Like


Related Questions