srowen commented on a change in pull request #32729:
URL: https://github.com/apache/spark/pull/32729#discussion_r643113808
##########
File path: python/pyspark/pandas/frame.py
##########
@@ -4545,6 +4545,15 @@ def to_pandas_on_spark(self, index_col:
Optional[Union[str, List[str]]] = None)
)
return DataFrame(internal)
+ # Keep to_koalas for backward compatibility for now.
+ def to_koalas(self, index_col: Optional[Union[str, List[str]]] = None) ->
"DataFrame":
+ warnings.warn(
+ "DataFrame.to_koalas is deprecated as of
DataFrame.to_pandas_on_spark. "
Review comment:
Maybe: `DataFrame.to_koalas is deprecated. Use
DataFrame.to_pandas_on_spark instead.`
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]