import scanpy as sc sc.pp.filter_genes(adata, max_cells=None, min_cells=None, max_counts=None, min_counts=3)