tiledbsoma.PointCloudDataFrame.exists¶
- classmethod PointCloudDataFrame.exists(uri: str, context: 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
SOMATileDBContext
to use when creating and attempting to access this object.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.
- Raises:
TypeError – If the
uri
is 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.