code: def test_corrwith(self):
      pytest.importorskip("scipy")
      index = ["a", "b", "c", "d", "e"]
      columns = ["one", "two", "three", "four"]
      df1 = tm.SubclassedDataFrame(
          np.random.default_rng(2).standard_normal((5, 4)),
          index=index,
          columns=columns,
      )
      df2 = tm.SubclassedDataFrame(
          np.random.default_rng(2).standard_normal((4, 4)),
          index=index[:4],
          columns=columns,
      )
      correls = df1.corrwith(df2, axis=1, drop=True, method="kendall")
  
      assert isinstance(correls, (tm.SubclassedSeries))
  
imports: import numpy
  import pytest
  import pandas
  from pandas import DataFrame, Index, MultiIndex, Series
  import pandas._testing
label_desc: Use image node_id 25 for calling the TestDataFrameSubclassing obj's underlying member method code with example usage: obj.test_corrwith() without return types