total_counts: float
Target total counts. If the count matrix has more than total_counts it will be downsampled to have this number.
import scanpy as sc
sc.pp.downsample_counts(adata, counts_per_cell=1, total_counts=None, random_state=42)
# counts now equal the total number of observations(cell)