code: def test_to_latex(self):
      pser = self.pser
      psser = self.psser
  
      self.assert_eq(psser.to_latex(), pser.to_latex())
      self.assert_eq(
          psser.to_latex(header=True), pser.to_latex(header=True)
      )
      self.assert_eq(
          psser.to_latex(index=False), pser.to_latex(index=False)
      )
      self.assert_eq(
          psser.to_latex(na_rep="-"), pser.to_latex(na_rep="-")
      )
      self.assert_eq(
          psser.to_latex(float_format="%.1f"),
          pser.to_latex(float_format="%.1f"),
      )
      self.assert_eq(
          psser.to_latex(sparsify=False), pser.to_latex(sparsify=False)
      )
      self.assert_eq(
          psser.to_latex(index_names=False),
          pser.to_latex(index_names=False),
      )
      self.assert_eq(
          psser.to_latex(bold_rows=True), pser.to_latex(bold_rows=True)
      )
      self.assert_eq(
          psser.to_latex(decimal=","), pser.to_latex(decimal=",")
      )
  
file_path: spark/python/pyspark/pandas/tests/io/test_series_conversion.py
imports: import unittest
  import sys
  import pandas
  from pyspark import pandas
  from pyspark.testing.pandasutils import PandasOnSparkTestCase
  from pyspark.testing.sqlutils import SQLTestUtils
label_desc: Use image node_id 4 for calling the SeriesConversionTestsMixin obj's underlying member method code with example usage: obj.test_to_latex() without return types