code: def test_assignment_series(self):
      psdf = ps.from_pandas(self.pdf1)
      pdf = self.pdf1
      psser = psdf.a
      pser = pdf.a
      psdf["a"] = self.psdf2.a
      pdf["a"] = self.pdf2.a
  
      self.assert_eq(psdf.sort_index(), pdf.sort_index())
      self.assert_eq(psser, pser)
  
      psdf = ps.from_pandas(self.pdf1)
      pdf = self.pdf1
      psser = psdf.a
      pser = pdf.a
      psdf["a"] = self.psdf2.b
      pdf["a"] = self.pdf2.b
  
      self.assert_eq(psdf.sort_index(), pdf.sort_index())
      self.assert_eq(psser, pser)
  
      psdf = ps.from_pandas(self.pdf1)
      pdf = self.pdf1
      psdf["c"] = self.psdf2.a
      pdf["c"] = self.pdf2.a
  
      self.assert_eq(psdf.sort_index(), pdf.sort_index())
  
      # Multi-index columns
      psdf = ps.from_pandas(self.pdf1)
      pdf = self.pdf1
      columns = pd.MultiIndex.from_tuples([("x", "a"), ("x", "b")])
      psdf.columns = columns
      pdf.columns = columns
      psdf[("y", "c")] = self.psdf2.a
      pdf[("y", "c")] = self.pdf2.a
  
      self.assert_eq(psdf.sort_index(), pdf.sort_index())
  
      pdf = pd.DataFrame(
          {"a": [1, 2, 3], "Koalas": [0, 1, 2]}
      ).set_index("Koalas", drop=False)
      psdf = ps.from_pandas(pdf)
  
      psdf.index.name = None
      psdf["NEW"] = ps.Series([100, 200, 300])
  
      pdf.index.name = None
      pdf["NEW"] = pd.Series([100, 200, 300])
  
      self.assert_eq(psdf.sort_index(), pdf.sort_index())
  
imports: import pandas
  from pyspark import pandas
  from pyspark.pandas.config import set_option, reset_option
  from pyspark.testing.pandasutils import PandasOnSparkTestCase
  from pyspark.testing.sqlutils import SQLTestUtils
label_desc: Use image node_id 18 for calling the AssignSeriesMixin obj's underlying member method code with example usage: obj.test_assignment_series() without return types