__init__
data
- The data for populating the dataset.name
- The name of the dataset. To create a dataset for a specific projectallow_duplicates
- Whether to allow duplicates in the dataset.api_key
- API key for accessing the Unify API. If None, it attempts to
UnifyError
: If the API key is missing.
properties
allow_duplicates
data
name
setters
set_allow_duplicates
allow_duplicates
- Whether to allow duplicates in the dataset.
set_name
name
- The name to set the dataset to.
methods
add
other
- The other dataset being added to this one.
download
sync
to synchronize and superset the datasets in both directions.
Set overwrite=True
to disregard any pre-existing data stored in this class.
Arguments:
overwrite
- Whether to overwrite the local data, if any already exists
from_upstream
name
- The name of the dataset.api_key
- API key for accessing the Unify API. If None, it attempts to
UnifyError
: If the API key is missing.
inplace_add
other
- The other dataset being added to this one.
inplace_sub
other
- The other dataset being added to this one.
sub
other
- The other dataset being added to this one.
sync
upload
sync
to synchronize and superset the datasets in both directions.
Set overwrite=True
to disregard any pre-existing upstream data.
Arguments:
overwrite
- Whether to overwrite the upstream dataset if it already exists.
upstream_diff
dunder_methods
__add__
other
- The other dataset being added to this one.
__contains__
item
- The item to cast to a Dataset before checking if it’s a subset of this
__getitem__
item
- integer or slice for extraction.
__iadd__
other
- The other dataset being added to this one.
__isub__
other
- The other dataset being added to this one.
__iter__
__len__
__radd__
other
- The other dataset being added to this one.
__repr__
__rsub__
other
- The other dataset being subtracted from this one.
__setitem__
__sub__
other
- The other dataset being subtracted from this one.