itholic commented on a change in pull request #34389: URL: https://github.com/apache/spark/pull/34389#discussion_r737050205
########## File path: python/pyspark/pandas/frame.py ########## @@ -4786,6 +4815,13 @@ def to_spark_io( to_spark_io.__doc__ = SparkFrameMethods.to_spark_io.__doc__ def to_spark(self, index_col: Optional[Union[str, List[str]]] = None) -> SparkDataFrame: + index_col is None and log_advice( + ... + ) Review comment: Sure, just fixed! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org