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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org