code: def test_isin_against_series(self):
      df = DataFrame(
          {"A": [1, 2, 3, 4], "B": [2, np.nan, 4, 4]},
          index=["a", "b", "c", "d"],
      )
      s = Series([1, 3, 11, 4], index=["a", "b", "c", "d"])
      expected = DataFrame(False, index=df.index, columns=df.columns)
      expected.loc["a", "A"] = True
      expected.loc["d"] = True
      result = df.isin(s)
      tm.assert_frame_equal(result, expected)
  
file_path: pandas/pandas/tests/frame/methods/test_isin.py
imports: import numpy
  import pytest
  import pandas
  from pandas import DataFrame, MultiIndex, Series
  import pandas._testing
label_desc: Use image node_id 9 for calling the TestDataFrameIsIn obj's underlying member method code with example usage: obj.test_isin_against_series() without return types