You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2022/06/30 13:19:52 UTC

[spark] branch master updated: [MINOR] Make the 'sep' description better in read_csv of pyspark p…

This is an automated email from the ASF dual-hosted git repository.

srowen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 309d5882bdc [MINOR] Make the 'sep' description better in read_csv of pyspark p…
309d5882bdc is described below

commit 309d5882bdced1e0342fd954959ea445be171059
Author: bzhaoop <27...@qq.com>
AuthorDate: Thu Jun 30 08:19:34 2022 -0500

    [MINOR] Make the 'sep' description better in read_csv of pyspark p…
    
    The 'sep' parameter supports a seperated string, which length is larger
    than 1. So it doesn't only support a single character, but also a string
    contains multiple characters.
    
    Closes #37023 from bzhaoopenstack/typo-fix.
    
    Authored-by: bzhaoop <27...@qq.com>
    Signed-off-by: Sean Owen <sr...@gmail.com>
---
 python/pyspark/pandas/namespace.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/pyspark/pandas/namespace.py b/python/pyspark/pandas/namespace.py
index 3a890050887..7691bf465e7 100644
--- a/python/pyspark/pandas/namespace.py
+++ b/python/pyspark/pandas/namespace.py
@@ -238,7 +238,7 @@ def read_csv(
     path : str
         The path string storing the CSV file to be read.
     sep : str, default ‘,’
-        Delimiter to use. Must be a single character.
+        Delimiter to use. Non empty string.
     header : int, default ‘infer’
         Whether to to use as the column names, and the start of the data.
         Default behavior is to infer the column names: if no names are passed


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org