pyspark.pandas.DataFrame.to_spark

DataFrame.to_spark(index_col: Union[str, List[str], None] = None) → pyspark.sql.dataframe.DataFrame

Spark related features. Usually, the features here are missing in pandas but Spark has it.