code: def test_dot(self):
      pdf = pd.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6]})
      psdf = ps.from_pandas(pdf)
  
      self.assert_eq(
          (psdf["b"] * 10).dot(psdf["a"]), (pdf["b"] * 10).dot(pdf["a"])
      )
      self.assert_eq(
          (psdf["b"] * 10).dot(psdf), (pdf["b"] * 10).dot(pdf)
      )
      self.assert_eq(
          (psdf["b"] * 10).dot(psdf + 1), (pdf["b"] * 10).dot(pdf + 1)
      )
  
      psdf_other = ps.DataFrame(
          {"a": [1, 2, 3], "b": [4, 5, 6]}, index=["x", "y", "z"]
      )
      with self.assertRaisesRegex(
          ValueError, "matrices are not aligned"
      ):
          with ps.option_context("compute.ops_on_diff_frames", True):
              psdf["b"].dot(psdf_other)
  
imports: import unittest
  from collections import defaultdict
  import inspect
  from datetime import datetime, timedelta
  import numpy
  import pandas
  from pyspark.ml.linalg import SparseVector
  from pyspark import pandas
  from pyspark.testing.pandasutils import PandasOnSparkTestCase, SPARK_CONF_ARROW_ENABLED
  from pyspark.testing.sqlutils import SQLTestUtils
  from pyspark.pandas.exceptions import PandasNotImplementedError
  from pyspark.pandas.missing.series import MissingPandasLikeSeries
  from pyspark.pandas.typedef.typehints import extension_object_dtypes_available
label_desc: Use image node_id 39 for calling the SeriesTestsMixin obj's underlying member method code with example usage: obj.test_dot() without return types