+1 vote
I try to join two data sets, but returns the following error: "Column name can not contain comma, quotation mark, leading or trailing white spaces with DSS engine"

Is there any way to remove multiple columns in mass to remove spaces and comma?
reopened by

1 Answer

0 votes
Best answer

Hi Farid,

You can do it with a Python Recipe using:

df.columns = df.columns.str.replace(',', '').replace(' ','')

Another option is to use a Preparation Recipe and add step "Rename Columns" but you have to change each column manually.

selected by
1,278 questions
1,305 answers
11,834 users

©Dataiku 2012-2018 - Privacy Policy