Table$create
Table$create(*, description=NULL, upload_merge_strategy='append', is_file_index=FALSE) → Table
Creates a table. After calling create, the properties
field will be fully populated. Can only be called if the table is scoped to an unreleased version of a dataset (see example below).
Parameters:
description
: str
A description to associate with the table.
upload_merge_strategy
: {'append', 'replace'}, default 'append'
Defines how uploads to the table should apply in this version; that is, whether uploads should be appended to the previous version of the table, or replace it (this will have no effect for the first version as both strategies yield the same result). It will also define the default strategy for any versions moving forward.
is_file_index
: bool, default FALSE
Whether or not the table represents a collection of non-tabular files, with each row representing a file. Index tables are also referred to as "Folders" in some parts of the user interface. If a table is created with isFileIndex=TRUE
, you will be able to add files via the Table$add_files method. Otherwise, if your table contains tabular data, you can upload tabular data via Upload$create.
Returns:
Examples:
Last updated