mapToFrame {
columnMapping
columnMapping
...}: DataFrame
columnMapping = column into columnName | columnName from column | columnName from { rowExpression } | +column
Properties
Strings
df.mapToFrame{"year of birth" from 2021- age
age gt 18 into "is adult"
name.lastName.length() into "last name length""full name" from { name.firstName +" "+ name.lastName }+city
}
df.mapToFrame{"year of birth" from 2021-"age"<Int>()"age"<Int>() gt 18 into "is adult""name"["lastName"]<String>().length() into "last name length""full name" from {"name"["firstName"]<String>()+" "+"name"["lastName"]<String>()}+"city"}