Replies: 3 comments 3 replies
-
Hi @Silloky, welcome 👋 Thanks for asking the question - you're right that we don't want to add an runtime dependency on pandas, as we're trying to keep the tskit core as lightweight as we can. However, testing the implementation using pandas would be totally fine. So: how about you implement the version you have in mind using pandas, and open a PR so we can discuss how to proceed from there? Thanks for contributing to tskit! |
Beta Was this translation helpful? Give feedback.
-
@jeromekelleher Thanks for your answer ! By the way, there are probably many technical reasons for not using pandas for the tables, but I think it would be so much easier. Anyway, I'll code the monophyly test and submit a PR. |
Beta Was this translation helpful? Give feedback.
-
OK, closing this discussion now @jeromekelleher as I have published the PR. |
Beta Was this translation helpful? Give feedback.
-
Hi.
I'm currently working on implementing a reciprocal monophyly test for the
Tree
class.My original code works with
pandas
, but I've noticedpandas
isn't imported/used intrees.py
script.Can I still use it with my PR, or is it best to stick to complicated dictionaries ?
Thanks !
Beta Was this translation helpful? Give feedback.
All reactions