Manipulate anndata remove keys/fields of the vars

            Traceback (most recent call last):
  File "/corral4/main/jobs/073/295/73295948/configs/tmptxnxjk25", line 10, in <module>
    adata.var = adata.vars.drop(columns=['mito', 'n_cells_by_counts', 'mean_counts', 'log1p_mean_counts', 'pct_dropout_by_counts', 'total_counts', 'log1p_total_counts', 'n_counts', 'n_cells', 'highly_variable', 'means', 'dispersions', 'dispersions_norm', 'mean', 'std'])
                ^^^^^^^^^^
AttributeError: 'AnnData' object has no attribute 'vars'. Did you mean: 'var'?

I try to remove the fields in vars to conact mutianndata and is shows error, i wonder if there is other tools to help?Or how it be fixed

Hello @xueraozhang321

We have comprehensive Single Cell tutorials! This a good one to use as a reference.

Exploring your data with Inspect AnnData object can be a good way to better understand what the data currently contains. Requesting to parse data that does not exist can lead to errors similar to yours but how to correct the error depends on what you have now.

Please give that a try! If you need help, you are welcome to share back the history with the problematic data/tool query and we can try with more specific feedback. :slight_smile: