ValueError: '_index' is a reserved name for dataframe columns.
解决方案:
adata.__dict__['_raw'].__dict__['_var'] = adata.__dict__['_raw'].__dict__['_var'].rename(columns={'_index': 'features'})
ValueError: '_index' is a reserved name for dataframe columns.
解决方案:
adata.__dict__['_raw'].__dict__['_var'] = adata.__dict__['_raw'].__dict__['_var'].rename(columns={'_index': 'features'})