tiledbsoma.PointCloudDataFrame.exists¶
- classmethod PointCloudDataFrame.exists(uri: str, context: SOMAContext | SOMATileDBContext | None = None, tiledb_timestamp: int | datetime | None = None) bool¶
Finds whether an object of this type exists at the given URI.
- Parameters:
uri – The URI to open.
context – If provided, the
SOMAContextto use when creating and opening this collection. If not, provide the default context will be used and possibly initialized.tiledb_timestamp – The TileDB timestamp to open this object at, measured in milliseconds since the Unix epoch. When unset (the default), the current time is used. A value of zero results in default, i.e., current time.
- Raises:
TypeError – If the
uriis not a string.
Examples
>>> with tiledbsoma.open("a_dataframe") as soma_df: ... print(soma_df.soma_type) ... SOMADataFrame >>> tiledbsoma.DataFrame.exists("./a_dataframe") True >>> tiledbsoma.SparseNDArray.exists("./a_dataframe") False
Lifecycle
Maturing.