def _to_spark(self, index_col: Optional[Union[(str, List[str])]]=None) -> SparkDataFrame:
    '\n        Same as `to_spark()`, without issueing the advice log when `index_col` is not specified\n        for internal usage.\n        '
    return self.spark.frame(index_col)
Same as `to_spark()`, without issueing the advice log when `index_col` is not specified
for internal usage.
def _to_spark(self, index_col: Optional[Union[(str, List[str])]]=None) -> SparkDataFrame:
    '\n        Same as `to_spark()`, without issueing the advice log when `index_col` is not specified\n        for internal usage.\n        '
    return self.spark.frame(index_col)