2.Write a Pandas program to perform arithmetic operations on two Pandas Series. Solution :- import pandas as pd ds1 = pd.Series([3,6,9,12,15]) ds2 = pd.Series([2,4,6,8,10]) ds = ds1 + ds2 print("Add two Series :- ") print(ds) print("Substract two Series :- ") ds = ds1 - ds2 print(ds) print("Multiply two Series :- ") ds = ds1 * ds2 print(ds) print("Divide two Series :- ") ds = ds1 / ds2 print(ds) Output :-
All computer course for class 9th to 12th with proper practical and theory .........