[jira] [Updated] (SPARK-42194) Allow `columns` parameter when creating DataFrame with Series.

2023-03-21 Thread Hyukjin Kwon (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-42194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon updated SPARK-42194:
-
Fix Version/s: 3.4.1
   (was: 3.4.0)

> Allow `columns` parameter when creating DataFrame with Series.
> --
>
> Key: SPARK-42194
> URL: https://issues.apache.org/jira/browse/SPARK-42194
> Project: Spark
>  Issue Type: Sub-task
>  Components: ps
>Affects Versions: 3.5.0
>Reporter: Haejoon Lee
>Assignee: Haejoon Lee
>Priority: Major
> Fix For: 3.4.1
>
>
> pandas API on Spark doesn't allow creating DataFrame with Series by 
> specifying the `columns` parameter as below:
> {code:java}
> >>> ps.DataFrame(psser, columns=["labels"])
> Traceback (most recent call last):
>   File "", line 1, in 
>   File ".../spark/python/pyspark/pandas/frame.py", line 539, in __init__
>     assert columns is None
> AssertionError {code}
> We should make it available.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Updated] (SPARK-42194) Allow `columns` parameter when creating DataFrame with Series.

2023-03-21 Thread Hyukjin Kwon (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-42194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon updated SPARK-42194:
-
Component/s: Pandas API on Spark
 (was: ps)

> Allow `columns` parameter when creating DataFrame with Series.
> --
>
> Key: SPARK-42194
> URL: https://issues.apache.org/jira/browse/SPARK-42194
> Project: Spark
>  Issue Type: Sub-task
>  Components: Pandas API on Spark
>Affects Versions: 3.5.0
>Reporter: Haejoon Lee
>Assignee: Haejoon Lee
>Priority: Major
> Fix For: 3.4.1
>
>
> pandas API on Spark doesn't allow creating DataFrame with Series by 
> specifying the `columns` parameter as below:
> {code:java}
> >>> ps.DataFrame(psser, columns=["labels"])
> Traceback (most recent call last):
>   File "", line 1, in 
>   File ".../spark/python/pyspark/pandas/frame.py", line 539, in __init__
>     assert columns is None
> AssertionError {code}
> We should make it available.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Updated] (SPARK-42194) Allow `columns` parameter when creating DataFrame with Series.

2023-03-21 Thread Xinrong Meng (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-42194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xinrong Meng updated SPARK-42194:
-
Parent: SPARK-42883  (was: SPARK-39199)

> Allow `columns` parameter when creating DataFrame with Series.
> --
>
> Key: SPARK-42194
> URL: https://issues.apache.org/jira/browse/SPARK-42194
> Project: Spark
>  Issue Type: Sub-task
>  Components: ps
>Affects Versions: 3.5.0
>Reporter: Haejoon Lee
>Assignee: Haejoon Lee
>Priority: Major
> Fix For: 3.4.0
>
>
> pandas API on Spark doesn't allow creating DataFrame with Series by 
> specifying the `columns` parameter as below:
> {code:java}
> >>> ps.DataFrame(psser, columns=["labels"])
> Traceback (most recent call last):
>   File "", line 1, in 
>   File ".../spark/python/pyspark/pandas/frame.py", line 539, in __init__
>     assert columns is None
> AssertionError {code}
> We should make it available.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Updated] (SPARK-42194) Allow `columns` parameter when creating DataFrame with Series.

2023-03-16 Thread Xinrong Meng (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-42194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xinrong Meng updated SPARK-42194:
-
Parent: SPARK-39199
Issue Type: Sub-task  (was: Bug)

> Allow `columns` parameter when creating DataFrame with Series.
> --
>
> Key: SPARK-42194
> URL: https://issues.apache.org/jira/browse/SPARK-42194
> Project: Spark
>  Issue Type: Sub-task
>  Components: ps
>Affects Versions: 3.5.0
>Reporter: Haejoon Lee
>Assignee: Haejoon Lee
>Priority: Major
> Fix For: 3.4.0
>
>
> pandas API on Spark doesn't allow creating DataFrame with Series by 
> specifying the `columns` parameter as below:
> {code:java}
> >>> ps.DataFrame(psser, columns=["labels"])
> Traceback (most recent call last):
>   File "", line 1, in 
>   File ".../spark/python/pyspark/pandas/frame.py", line 539, in __init__
>     assert columns is None
> AssertionError {code}
> We should make it available.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Updated] (SPARK-42194) Allow `columns` parameter when creating DataFrame with Series.

2023-01-25 Thread Haejoon Lee (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-42194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Haejoon Lee updated SPARK-42194:

Description: 
pandas API on Spark doesn't allow creating DataFrame with Series by specifying 
the `columns` parameter as below:
{code:java}
>>> ps.DataFrame(psser, columns=["labels"])
Traceback (most recent call last):
  File "", line 1, in 
  File ".../spark/python/pyspark/pandas/frame.py", line 539, in __init__
    assert columns is None
AssertionError {code}
We should make it available.

  was:
pandas API on Spark doesn't allow creating DataFrame with Series by specifying 
the `columns` parameter as below:
{code:java}
>>> ps.DataFrame(psser, columns=["labels"])
Traceback (most recent call last):
  File "", line 1, in 
  File 
"/Users/haejoon.lee/Desktop/git_store/spark/python/pyspark/pandas/frame.py", 
line 539, in __init__
    assert columns is None
AssertionError {code}
We should make it available.


> Allow `columns` parameter when creating DataFrame with Series.
> --
>
> Key: SPARK-42194
> URL: https://issues.apache.org/jira/browse/SPARK-42194
> Project: Spark
>  Issue Type: Bug
>  Components: ps
>Affects Versions: 3.5.0
>Reporter: Haejoon Lee
>Priority: Major
>
> pandas API on Spark doesn't allow creating DataFrame with Series by 
> specifying the `columns` parameter as below:
> {code:java}
> >>> ps.DataFrame(psser, columns=["labels"])
> Traceback (most recent call last):
>   File "", line 1, in 
>   File ".../spark/python/pyspark/pandas/frame.py", line 539, in __init__
>     assert columns is None
> AssertionError {code}
> We should make it available.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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