Q. What will be the output produced by the following code?


Stationery = ['pencils', 'notebooks', 'scales', 'erasers']
S = pd.Series ([20, 33, 52, 10], index = Stationery)
S2 = pd.Series ([17, 13, 31, 32], index = Stationery)
print (S = S2)
S = S + S2
print (S + S2)


Answer :-

It will produce error.
Error in 4th line.

1 Comments

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

Post a Comment

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

Previous Post Next Post