CBSE Class 12 Informatics Practices Question 95 of 167

Python Pandas — I — Question 6

Back to all questions
6
Question

Question 6

Given the following Series S1 and S2 :

A10
B40
C34
D60
A80
B20
C74
D90

Write the command to find the sum of series S1 and S2.

Answer
>>> print(S1 + S2)
Output
A     90
B     60
C    108
D    150
dtype: int64