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'})
本文标题:环境配置笔记23-adata.write报错ValueError
本文链接:https://www.haomeiwen.com/subject/rudvljtx.html
网友评论