Error in highly variable gene selection

Hi @adamgayoso thanks so much for advice. I tried sc.pp.filter_genes(adata, min_counts=3) but it still shows the error. The strange thing is when I remove the batch_key='patient_id' argument in sc.pp.highly_variable_genes, it works. I am a bit confused. Any suggestion?

thanks