Open siberianisaev opened 2 weeks ago
Also need to consider pandas warning:
UserWarning: Pandas doesn't allow columns to be created via a new attribute name - see https://pandas.pydata.org/pandas-docs/stable/indexing.html#attribute-access
df.column_order = order
Create anndata manually:
Trigger rename column and there will be exception:
Workaround (set
column_order
argument):Also we should revise this ability to set column_order directly instead of taking it from the original dataframe...