0 votes
in Python Pandas by
Which of the following expressions are used to check if each element of a series s is present in the list of elements [67, 32].

Series s is defined as shown below.

s = pd.Series([99, 32, 67],list('abc'))

Select the appropriate answer from given below options :

a) s.isin([67, 32])

b) [67, 32] in s

c) s in [67, 32]

d) [67, 32] isin s

1 Answer

0 votes
by
Correct Answer of the above question is : -a) s.isin([67, 32])

Related questions

0 votes
asked Oct 28, 2022 in Python by SakshiSharma
0 votes
asked Aug 13, 2021 in Python Pandas by SakshiSharma
...