zhengruifeng commented on code in PR #50382:
URL: https://github.com/apache/spark/pull/50382#discussion_r2011368037


##########
python/pyspark/pandas/namespace.py:
##########
@@ -1157,89 +1161,99 @@ def pd_read_excel(
             **kwds,
         )
 
-    if isinstance(io, str):
-        # 'binaryFile' format is available since Spark 3.0.0.
-        binaries = 
default_session().read.format("binaryFile").load(io).select("content").head(2)

Review Comment:
   collect all data of first two files



-- 
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

Reply via email to