You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Stefaan Lippens (Jira)" <ji...@apache.org> on 2022/10/26 13:47:00 UTC
[jira] [Created] (SPARK-40922) pyspark.pandas.read_csv supports reading multiple files, but that is undocumented
Stefaan Lippens created SPARK-40922:
---------------------------------------
Summary: 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
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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org