long_col
The long_col method creates a column containing Java primitive long values.
Note
This method is commonly used with new_table to create tables.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| name | str | The name of the new column. |
| data | Sequence[int] | The column values. |
Returns
An InputColumn.
Example
The following examples use new_table to create a table with a single column of longs named Longs.