dropColumns
The dropColumns method creates a table with the same number of rows as the source table but omits any columns included in the arguments.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| columnNames | String... | Columns that will be omitted in the new table. |
| columnNames | Collection<String> | Columns that will be omitted in the new table. |
| columnNames | ColumnName... | Columns that will be omitted in the new table. |
Returns
A new table that includes the same number of rows as the source table, with the specified column names omitted.