What will be the output of the following code?

import pandas as pd
s1 = pd.Series([2, 4, 7, 1, 3], index = ['a', 'b', 'c', 'd', 'e'])
s2 = pd.Series([1, 2, 3, 4, 5], index = ['f', 'b', 'g', 'd', 'c'])
s3 = pd.Series(s1 + s2)
print(s3.count())

1
5
2
7
3
3
4
Program produces error

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation