Details
-
Umbrella
-
Status: Resolved
-
Major
-
Resolution: Resolved
-
3.4.0
-
None
-
None
Description
NumPy is the fundamental package for scientific computing with Python. It is very commonly used, especially in the data science world. For example, Pandas is backed by NumPy, and Tensors also supports interchangeable conversion from/to NumPy arrays.
However, PySpark only supports Python native types with the exception of pandas data in “SparkSession.createDataFrame(pandas.DataFrame)”. “DataFrame.toPandas()”. NumPy input support has been requested multiple times, see SPARK-2012, SPARK-37697, SPARK-31776, and SPARK-6857.
The ticket proposes to support NumPy input in PySpark.
See more design design.
Attachments
Issue Links
- depends upon
-
SPARK-40084 Upgrade Py4J from 0.10.9.5 to 0.10.9.7
- Resolved
-
SPARK-40271 Support list type for pyspark.sql.functions.lit
- Resolved