Informatics Practices

Given the following Series S1 and S2 :

S1
A10
B40
C34
D60
S2
A80
B20
C74
D90

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

Python Pandas

6 Likes

Answer

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

Answered By

2 Likes


Related Questions