You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Chuck Connell (Jira)" <ji...@apache.org> on 2021/11/02 18:07:00 UTC

[jira] [Created] (SPARK-37198) pyspark.pandas read_csv() and to_csv() should handle local files

Chuck Connell created SPARK-37198:
-------------------------------------

             Summary: pyspark.pandas read_csv() and to_csv() should handle local files 
                 Key: SPARK-37198
                 URL: https://issues.apache.org/jira/browse/SPARK-37198
             Project: Spark
          Issue Type: Improvement
          Components: PySpark
    Affects Versions: 3.2.0
            Reporter: Chuck Connell


Pandas programmers who move their code to Spark would like to import and export text files to and from their local disk. I know there are technical hurdles to this (since Spark is usually in a cluster that does not know where your local computer is) but it would really help code migration. 

For read_csv() and to_csv(), the syntax {{*file://c:/Temp/my_file.csv* }}(or something like this) should import and export to the local disk on Windows. Similarly for Mac and Linux. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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