class_docstr: Convertor between RDD and Spark DataFrame.
class_docstr_tok: ["Convertor","between","RDD","and","Spark","DataFrame","."]
code: def __init__(self, spark: pyspark.sql.SparkSession):
      self._spark = spark
      self._partition_key_schema = None
  
imports: import abc
  import copy
  from collections import namedtuple
  from dataclasses import dataclass
  from typing import Any, Dict, Iterable, List, Optional, Sequence, Tuple, Union
  import pipeline_dp
  import pyspark
label_desc: Use image node_id 1 to create a new SparkConverter object from inherited base classes: DataFrameConvertor with example: obj = SparkConverter(spark)