1.

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].

Answer»

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'))
Choose the correct OPTION from below option
(1)s.isin([67, 32])
(2)[67, 32] in s
(3)s in [67, 32]
(4)[67, 32] isin s

Answer:-(1)s.isin([67, 32])



Discussion

No Comment Found