Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.5.0
-
None
Description
pandas API on Spark doesn't allow creating DataFrame with Series by specifying the `columns` parameter as below:
>>> ps.DataFrame(psser, columns=["labels"]) Traceback (most recent call last): File "<stdin>", line 1, in <module> File ".../spark/python/pyspark/pandas/frame.py", line 539, in __init__ assert columns is None AssertionError
We should make it available.