tiledbsoma.io.show_experiment_shapes

tiledbsoma.io.show_experiment_shapes(uri: str, *, context: ~tiledbsoma.options._soma_tiledb_context.SOMATileDBContext | None = None, output_handle: ~_io.TextIOWrapper | ~_io.StringIO = <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>) bool

For each dataframe/array contained within the SOMA Experiment pointed to by the given URI, shows the deprecated used_shape (for N-D arrays) or the non_empty_domain (for dataframes), along with the shape and maxshape (for arrays) or domain and maxdomain (for dataframes).

Parameters:
  • uri – The URI of a SOMA Experiment.

  • context – Optional SOMATileDBContext.

Example:

>>> tiledbsoma.io.show_experiment_shapes('pbmc3k_unprocessed')
[DataFrame] obs
  URI file:///data/pbmc3k_unprocessed/obs
  non_empty_domain     ((0, 2699),)
  domain               ((0, 2699),)
  maxdomain            ((0, 9223372036854773758),)
  upgraded             True
[DataFrame] ms/RNA/var
  URI file:///data/pbmc3k_unprocessed/ms/RNA/var
  non_empty_domain     ((0, 13713),)
  domain               ((0, 13713),)
  maxdomain            ((0, 9223372036854773758),)
  upgraded             True
[SparseNDArray] ms/RNA/X/data
  URI file:///data/pbmc3k_unprocessed/ms/RNA/X/data
  shape                (2700, 13714)
  maxshape             (9223372036854773759, 9223372036854773759)
  upgraded             True