KokosDev Zarr Datasets
Collection
Curated Zarr datasets packaged for scalable ML and analytics workflows across domains (single-cell, climate, hydrology, and more). • 5 items • Updated • 1
shape list | cell_type_counts dict | disease_labels list | benchmark dict | meta dict |
|---|---|---|---|---|
[
150000,
61497
] | {
"A2 amacrine cell": 7,
"Axl+ dendritic cell, human": 3,
"B cell": 1223,
"B-1a B cell": 2,
"B-1b B cell": 6,
"B-2 B cell": 1,
"BEST4+ colonocyte": 18,
"BEST4+ enterocyte": 92,
"Be cell": 65,
"Bergmann glial cell": 108,
"CD14-low, CD16-positive monocyte": 180,
"CD14-positive monocyte": 763,
"C... | [
"Alzheimer disease",
"B-cell acute lymphoblastic leukemia",
"B-cell non-Hodgkin lymphoma",
"Barrett esophagus",
"COVID-19",
"Crohn disease",
"Down syndrome",
"HER2 positive breast carcinoma",
"HIV infectious disease",
"HIV infectious disease || leishmaniasis",
"HIV infectious disease || visceral... | {
"open_seconds": 0.0013678241521120071,
"read_chunk_seconds": 0.017502283677458763,
"chunk_shape": [
1000,
1000
],
"chunk_origin": [
126743,
38534
],
"shape": [
150000,
61497
]
} | {
"census_version": "2025-11-08T00:00:00",
"created_at": "2026-03-03T22:07:54.738185+00:00",
"max_cells": 150000,
"n_hvg": 0,
"obs_value_filter": "tissue_general == 'brain' and is_primary_data == True",
"organism": "Homo sapiens",
"schema_version": "1.0",
"seed": 42,
"source": "cellxgene-census",
"x... |
Production-ready brain single-cell RNA-seq data exported from the CellxGene Census into native Zarr stores for chunked, on-demand access on the Hugging Face Hub.
Single-cell expression matrices get impractical fast if you treat them like ordinary dense files. Zarr is the point of this repo: it makes large atlas-scale data usable without forcing users to download or materialize the whole matrix before they can do anything useful.
| View | Matrix shape | Dense float32 equivalent | Zarr size on Hub | Why it matters |
|---|---|---|---|---|
Quickstart sample brain.zarr |
150,000 x 61,497 |
36.90 GB |
52.52 MB |
Small tutorial-sized store you can open immediately. |
Full sharded collection brain_00000.zarr ... brain_00028.zarr |
28,967,109 x 61,497 |
7.13 TB |
38.14 GB |
Full dataset stays practical because access is chunked and row-sharded. |
703x smaller.187x smaller.0.0014 s1000 x 1000 chunk: 0.0175 sbrain.zarr150,000 cells.brain_00000.zarr ... brain_00028.zarr29 row-sharded stores.1,000,000 cells; the final shard contains 967,109.dataset_summary.json2025-11-08Homo sapienstissue_general == 'brain' and is_primary_data == Truecellxgene-census42This repo is a Zarr packaging of the upstream Census data to make browser-friendly, programmatic, chunked access practical on the Hub.
Xfloat32zstd with bitshuffle(1000, 1000)(256, 61497)obs/_indexobs/assayobs/cell_typeobs/dataset_idobs/diseaseobs/donor_idobs/n_countsobs/n_genesobs/pct_mitoobs/sexobs/tissuevar/_indexvar/feature_idvar/feature_namevar/feature_typebrain.zarr if you want a fast, self-contained sample for development or demos.brain_000xx.zarr stores for full-scale work.X as lazily loaded. Avoid converting the full dataset to one in-memory dense array.import fsspec
import zarr
mapper = fsspec.get_mapper(
"hf://datasets/KokosDev/single-cell-brain-zarr@main/brain.zarr"
)
root = zarr.open_group(mapper, mode="r")
print(root["X"].shape)
print(root["obs/_index"][:5])
import fsspec
import zarr
shard = "brain_00000.zarr"
mapper = fsspec.get_mapper(
f"hf://datasets/KokosDev/single-cell-brain-zarr@main/{shard}"
)
root = zarr.open_group(mapper, mode="r")
print(shard, root["X"].shape)
print(root["obs/cell_type"][:5])
print(root["obs/n_counts"][:5])
import fsspec
import zarr
for i in range(29):
shard = f"brain_{i:05d}.zarr"
mapper = fsspec.get_mapper(
f"hf://datasets/KokosDev/single-cell-brain-zarr@main/{shard}"
)
root = zarr.open_group(mapper, mode="r")
print(shard, root["X"].shape)
brain.zarr is the safer starting point if you want to materialize an AnnData object locally.29-shard collection is intended for shard-wise workflows, streaming, preprocessing, and atlas-scale analysis.n_countsn_genespct_mitoBuilt from the CellxGene Census. Please cite and follow the upstream Census terms, licensing, and attribution requirements when using this data in research or products.