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

Merge two column to a new column #266

Closed
reza1615 opened this issue Sep 4, 2020 · 3 comments
Closed

Merge two column to a new column #266

reza1615 opened this issue Sep 4, 2020 · 3 comments

Comments

@reza1615
Copy link

reza1615 commented Sep 4, 2020

It would be helpful to have a column with is concat of two columns with a separator

for string type

seperator =' '
df['C']= df['A']+seperator + df['B']

for number type
df['C']= df['A']+df['B']

@aschonfeld
Copy link
Collaborator

this already exists for numeric types in D-Tale: https://github.com/man-group/dtale#building-columns

I can work on adding string concatenation...

@reza1615
Copy link
Author

reza1615 commented Oct 7, 2020

Yes I didn't find concat strings

@aschonfeld
Copy link
Collaborator

added in v1.17.0

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

No branches or pull requests

2 participants