code: def test_nlargest(self):
      sample_lst = [1, 2, 3, 4, np.nan, 6]
      pser = pd.Series(sample_lst, name="x")
      psser = ps.Series(sample_lst, name="x")
      self.assert_eq(psser.nlargest(n=3), pser.nlargest(n=3))
      self.assert_eq(psser.nlargest(), pser.nlargest())
      self.assert_eq((psser + 1).nlargest(), (pser + 1).nlargest())
  
imports: import unittest
  from decimal import Decimal
  import numpy
  import pandas
  from pyspark import pandas
  from pyspark.testing.pandasutils import ComparisonTestBase
  from pyspark.testing.sqlutils import SQLTestUtils
label_desc: Use image node_id 4 for calling the SeriesStatMixin obj's underlying member method code with example usage: obj.test_nlargest() without return types