Replies: 2 comments 2 replies
-
Ah, I forgot about |
Beta Was this translation helpful? Give feedback.
2 replies
-
Related: #2632. I'm hoping that we can implement this efficiently now with the numpy 2.0 StringDtype (but will require C coding) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What's the most efficient way to get the ancestral states of all the sites in a tree sequence as a numpy array of strings? I suspect the following is very inefficient:
I couldn't find this documented anywhere, and since the array is ragged, there isn't a
site_ancestral_state
array available (yet)Beta Was this translation helpful? Give feedback.
All reactions