numpy: How to express a many-to-many relationship?

后端 未结 0 795
野趣味
野趣味 2021-01-28 05:34

Say I have the following logical relationships:

# ANIMALS
cat = [hobbes, tigger, garfield]
dog = [lassie]
frog = [kermit, hypnotoad]

# HABITATS
tree = [cat, frog         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题