drop_fields¶
Description¶
Drop one or more fields from an object.
Return type¶
object
Domain¶
This is a scalar function (calculates a single output value for a single input row.)
Categories¶
Usage¶
drop_fields( object, field ... )
Argument |
Type |
Required |
Multiple |
Constant |
---|---|---|---|---|
object |
object |
Required |
Only one |
Variable |
field |
string |
Required |
Can be multiple |
Constant |
Examples¶
make_col smaller:drop_fields(obj, 'key1', 'key2')
Create a column ‘smaller’ based on column ‘obj’ with ‘key1’ and ‘key2’ dropped.