[ 
https://issues.apache.org/jira/browse/SPARK-40922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon reassigned SPARK-40922:
------------------------------------

    Assignee: Stefaan Lippens

> pyspark.pandas.read_csv supports reading multiple files, but that is 
> undocumented
> ---------------------------------------------------------------------------------
>
>                 Key: SPARK-40922
>                 URL: https://issues.apache.org/jira/browse/SPARK-40922
>             Project: Spark
>          Issue Type: Documentation
>          Components: Pandas API on Spark, PySpark
>    Affects Versions: 3.3.1
>            Reporter: Stefaan Lippens
>            Assignee: Stefaan Lippens
>            Priority: Minor
>
> The {{path}} argument of {{pyspark.pandas.read_csv(path, ...)}} currently has 
> type annotation {{str}} and is documented as
> {code}
>     path : str
>         The path string storing the CSV file to be read.
> {code}
> The implementation however uses {{pyspark.sql.DataFrameReader.csv(path, 
> ...)}} which does support multiple paths:
> {code}
>         path : str or list
>             string, or list of strings, for input path(s),
>             or RDD of Strings storing CSV rows.
> {code}
> Loading multiple CSV files at once is a useful feature to have and should be 
> documented (and tested for)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to