Computer Science, asked by sarakhan2034066, 5 hours ago

Write the output of the given program: import pandas as pd S1=pd.Series([5,6,7,8,10],index=['v','w','x','y','z']) l=[2,6,1,4,6] S2=pd.Series(l,index=['z','y','a','w','v']) print(S1-S2)​

Answers

Answered by renu888sahu
1

Answer:

print- 5,7,8,10. this is the answer

Answered by shilpa85475
4

a    NaN

v   -1.0

w    2.0

x    NaN

y    2.0

z    8.0

dtype: float64

Explanation:

  • Pandas in python is a predominantly used for data analysis library.
  • It has many functions and methods for the data analysis process. It makes use of  functionality, flexibility with simple syntax.
  • It can is used to perform data manipulation and analysis.
  • It also provide powerful and easy-to-use data structures like array, lists, Arraylist, Dictionary,etc. as well as the means to quickly perform operations on these structures.
Similar questions