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


##########
python/pyspark/pandas/namespace.py:
##########
@@ -1145,7 +1149,7 @@ def pd_read_excel(
             true_values=true_values,
             false_values=false_values,
             skiprows=skiprows,
-            nrows=nrows,
+            nrows=nr,

Review Comment:
   use the `nrows` parameter in 
[pd.read_excel](https://pandas.pydata.org/docs/reference/api/pandas.read_excel.html)
 to control first rows to read



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