Skip to content

Commit

Permalink
fix argument description
Browse files Browse the repository at this point in the history
  • Loading branch information
eroell committed Dec 1, 2024
1 parent b0a3ae2 commit c52861c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ehrapy/anndata/anndata_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ def move_to_x(adata: AnnData, to_x: list[str] | str, copy_x: bool = False) -> An
Args:
adata: The AnnData object
to_x: The values are copied to X (and therefore kept in obs) instead of moved completely.
copy_x: Whether to return a copy or not
to_x: The columns to move to X
copy_x: The values are copied to X (and therefore kept in obs) instead of moved completely
Returns:
A new AnnData object with moved columns from obs to X. This should not be used for datetime columns currently.
Expand Down

0 comments on commit c52861c

Please sign in to comment.