code: def test_nlargest_duplicates_on_starter_columns(self):
      # regression test for GH#22752
  
      df = pd.DataFrame(
          {"a": [2, 2, 2, 1, 1, 1], "b": [1, 2, 3, 3, 2, 1]}
      )
  
      result = df.nlargest(4, columns=["a", "b"])
      expected = pd.DataFrame(
          {"a": [2, 2, 2, 1], "b": [3, 2, 1, 3]}, index=[2, 1, 0, 3]
      )
      tm.assert_frame_equal(result, expected)
  
      result = df.nsmallest(4, columns=["a", "b"])
      expected = pd.DataFrame(
          {"a": [1, 1, 1, 2], "b": [1, 2, 3, 1]}, index=[5, 4, 3, 0]
      )
      tm.assert_frame_equal(result, expected)
  
file_path: pandas/pandas/tests/frame/methods/test_nlargest.py
imports: from string import ascii_lowercase
  import numpy
  import pytest
  import pandas
  import pandas._testing
  from pandas.util.version import Version
label_desc: Use image node_id 4 for calling the TestNLargestNSmallest obj's underlying member method code with example usage: obj.test_nlargest_duplicates_on_starter_columns() without return types