Consider the following series: 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']) Based on the above paragraph answer the following questions:
If the index of seriesA is not matched with index of seriesB, addition not possible.
While performing operations on series, index matching is implemented and all missing values are filled in with NaN by default.
add() function does not allow explicit specification of the fill value for any element in seriesA or seriesB that might be missing.
Multiplication and division are not possible with missing values.
Hide Solution
Verified By Collegedunia
The Correct Option isB
Solution and Explanation
The correct option is(B): While performing operations on series, index matching is implemented and all missing values are filled in with NaN by default.