diff --git a/docs/release-notes/0.10.9.md b/docs/release-notes/0.10.9.md index 0d5fd10c..5e8d631b 100644 --- a/docs/release-notes/0.10.9.md +++ b/docs/release-notes/0.10.9.md @@ -1,4 +1,4 @@ -### 0.10.8 {small}`the future` +### 0.10.9 {small}`2024-10-01` ```{rubric} Features ``` diff --git a/src/rapids_singlecell/get/_aggregated.py b/src/rapids_singlecell/get/_aggregated.py index 10b939f2..199503dc 100644 --- a/src/rapids_singlecell/get/_aggregated.py +++ b/src/rapids_singlecell/get/_aggregated.py @@ -1,6 +1,13 @@ from __future__ import annotations -from typing import TYPE_CHECKING, Literal, Union, get_args +from typing import ( + TYPE_CHECKING, + Collection, + Iterable, + Literal, + Union, + get_args, +) import cupy as cp import numpy as np @@ -13,8 +20,6 @@ from rapids_singlecell.preprocessing._utils import _check_gpu_X if TYPE_CHECKING: - from collections.abc import Collection, Iterable - import pandas as pd from numpy.typing import NDArray @@ -331,8 +336,8 @@ def aggregate( If `func` only has length 1 or is just an `AggType`, then aggregation data is written to `X`. Otherwise, it is written to `layers` or `xxxm` as appropriate for the dimensions of the aggregation data. - Params - ------ + Parameters + ---------- adata :class:`~anndata.AnnData` to be aggregated. by