Notebook$create_output_table
Notebook$create_output_table(data, *, name=None, append=False, geography_variables=None) → Table
Create an output table from within a running notebook. Pass various data structures or reference an existing file on disk.
Parameters:
data
: str | data.frame | arrow.Table | arrow.Dataset | sf.tibble
The data content to pass to the output table. If a string, assumed to be the path to a parquet file, which must end in ".parquet". Otherwise, the provided data object is converted to parquet and uploaded to the output table.
name
: str, default None
The name of the output table. If not specified, will be automatically set based on the name of the notebook.
append
: bool, default FALSE
If set to TRUE, the data contents will be appended to the output table. Otherwise, the output table will be replaced with the contents (the default behavior).
geography_variables
: list, default None
A list of variables that should be interpreted as the geography type. Will be automatically inferred when passing a sf.tibble or parquet file (that implements the geoparquet specification) via the data
parameter.
Returns
Examples
Last updated
Was this helpful?