Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable to assign list. #1644

Merged
merged 1 commit into from
Jul 10, 2020
Merged

Enable to assign list. #1644

merged 1 commit into from
Jul 10, 2020

Conversation

ueshin
Copy link
Collaborator

@ueshin ueshin commented Jul 10, 2020

Enables to assign list to DataFrame.

>>> kdf = ks.DataFrame({"A": [0, 2, 4], "B": [1, 3, 5], "C": [6, 7, 8]}, index=[10, 11, 12])
>>> kdf['D'] = [9, 10, 11]
>>> kdf
    A  B  C   D
10  0  1  6   9
11  2  3  7  10
12  4  5  8  11

Resolves #1403.

@ueshin ueshin requested a review from HyukjinKwon July 10, 2020 00:28
@HyukjinKwon HyukjinKwon merged commit 7bd48e1 into databricks:master Jul 10, 2020
@ueshin ueshin deleted the assign_list branch July 10, 2020 02:05
@itholic
Copy link
Contributor

itholic commented Jul 10, 2020

nice :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Column assignment doesn't support type list
3 participants