What is the use of drop() and reindex() method? Explain with example.
Answers
Answered by
30
Explanation:
The reindex() function is used to conform Series to new index with optional filling logic, placing NA/NaN in locations having no value in the previous index. A new object is produced unless the new index is equivalent to the current one and copy=False. Method to use for filling holes in reindexed DataFrame.
Anonymous:
hi deepika
Similar questions