diff options
author | Frederick Muriuki Muriithi | 2021-10-25 19:12:24 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2021-10-25 19:12:24 +0300 |
commit | 783f302c5d4729eb0b5fb6ba79180b7cd97764a5 (patch) | |
tree | a36567f82d76c3013bbb6021fa6d08eb09500201 /gn3/computations | |
parent | 5a472ebab04c68cd5228f253cc98d0ae22a520d7 (diff) | |
download | genenetwork3-783f302c5d4729eb0b5fb6ba79180b7cd97764a5.tar.gz |
Implement `partition_all` function
Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/partial-correlations.gmi
* gn3/data_helpers.py: new function (partition_all)
* tests/unit/test_data_helpers.py: tests for function
`gn3.data_helpers.partition_all`
As part of migrating some functions that access the database, this commit
extracts generic processes that can be accomplished on data, and implements
the `partition_all` function, that is equivalent to Clojure's
`partition-all` function.
Diffstat (limited to 'gn3/computations')
0 files changed, 0 insertions, 0 deletions