Supported in: Batch, Faster, Streaming
Normalizes column names to use lower_snake_case.
An underscore is inserted at each camel case boundary, all letters are lowercased, hyphens and runs of whitespace become underscores, and periods are removed. Characters that Foundry does not permit in column names (,;{}()=, the tab, and newline characters) are always replaced with an underscore, regardless of whether the remove special characters argument is enabled. Consecutive underscores are then collapsed into a single underscore, and any leading or trailing underscore is removed.
Transform categories: Data preparation
Argument values:
Input:
| recentlyServiced | tailNumber | _airlineCode |
|---|---|---|
| true | KK-150 | KK |
| false | XB-120 | XB |
| true | MT-190 | MT |
Output:
| recently_serviced | tail_number | airline_code |
|---|---|---|
| true | KK-150 | KK |
| false | XB-120 | XB |
| true | MT-190 | MT |
Argument values:
Input:
| recently^Serviced | tail@Number$ | !airline*Code |
|---|---|---|
| true | KK-150 | KK |
| false | XB-120 | XB |
| true | MT-190 | MT |
Output:
| recently_serviced | tail_number | airline_code |
|---|---|---|
| true | KK-150 | KK |
| false | XB-120 | XB |
| true | MT-190 | MT |
Argument values:
Input:
| columnA. | columnB() | column!C | column,;{} D | column()e |
|---|---|---|---|---|
| foo | bar | fooBar | foo | bar |
Output:
| column_a | column_b | column!_c | column_d | column_e |
|---|---|---|---|---|
| foo | bar | fooBar | foo | bar |