KnowledgeBoat Logo
|

Informatics Practices

Data and index in an ndarray must be of the same length.

Python Data Handling

2 Likes

Answer

True

Reason — In a pandas DataFrame or Series, the data and index should be of the same length. Each element in the data should have a corresponding label in the index.

Answered By

2 Likes


Related Questions