When we adding the given two series what will be the outptut ?

seriesA = pd.Series([1,2,3,4,5], index = ['a', 'b', 'c', 'd', 'e'])

seriesB = pd.Series([10,20,-10,-50,100], index = ['z', 'y', 'a', 'c', 'e'])

seriesA + seriesB 

1
a -9.0
b NaN
c -47.0
d NaN
e 105.0
y NaN
z NaN
2
a -9.0
b 0
c -47.0
d 0
e 105.0
y 0
z 0
3
a -9.0
b Null
c -47.0
d Null
e 105.0
y Null
z Null
4
a -9.0
b   2.0
c -47.0
e 105.0
y   20.0
z   10.0

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation