Q. Correct the error reported by the code of question Given below. Write corrected code for the same.


Q. Given a Series object s13 as shown below


Answer :-

import pandas as pd
s13.index = range(1, 5)
print (s13)

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post