ianmcook commented on code in PR #46529:
URL: https://github.com/apache/spark/pull/46529#discussion_r1610539708
##########
python/pyspark/sql/connect/session.py:
##########
@@ -413,11 +416,14 @@ def _inferSchemaFromList(
def createDataFrame(
self,
- data: Union["pd.DataFrame", "np.ndarray", Iterable[Any]],
+ data: Union["pd.DataFrame", "np.ndarray", "pa.Table", Iterable[Any]],
schema: Optional[Union[AtomicType, StructType, str, List[str],
Tuple[str, ...]]] = None,
samplingRatio: Optional[float] = None,
verifySchema: Optional[bool] = None,
) -> "ParentDataFrame":
+ import pandas as pd
+ import pyarrow as pa
+
Review Comment:
Thanks. Removed in 73a7886.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]