You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This alteration is taking the values from a column and is creating a new column for each distinct value found in this column. The value of the newly created columns are set to 0 except for the column matching with the initial column (which is removed). The name of the newly created column is based on the initial name of the column followed by an underscore and the name of the value.
Name
Country
John Doe
US
Jean Dupont
France
Jacques Martin
France
Bill Smith
US
Mario Rossi
Italy
Ashok Kumar
India
is transfromed into
Name
Country_US
Country_France
Country_Italy
Country_India
John Doe
1
0
0
0
Jean Dupont
0
1
0
0
Jacques Martin
0
1
0
0
Bill Smith
1
0
0
0
Mario Rossi
0
0
1
0
Ashok Kumar
0
0
0
1
The text was updated successfully, but these errors were encountered:
This alteration is taking the values from a column and is creating a new column for each distinct value found in this column. The value of the newly created columns are set to 0 except for the column matching with the initial column (which is removed). The name of the newly created column is based on the initial name of the column followed by an underscore and the name of the value.
is transfromed into
The text was updated successfully, but these errors were encountered: