Skip to content
Snippets Groups Projects
Commit 14c1c93e authored by nfontrod's avatar nfontrod
Browse files

src/find_interaction_cluster/community_calibration.py: fix create_community_size_dataframe tests

parent 92f2d8c3
No related branches found
No related tags found
No related merge requests found
......@@ -194,11 +194,11 @@ def create_community_size_dataframe(list_df: List[pd.DataFrame],
>>> d = pd.DataFrame({"community": ["C1", "C2"], "nodes": [10, 20],
... "edges": [5, 7], "modularity": [0.95, 0.95]})
>>> create_community_size_dataframe([d, d], [1.5, 2])
inflation community_size
0 1.5 10
1 1.5 20
2 2.0 10
3 2.0 20
inflation community_size
0 1.5 10
1 1.5 20
2 2.0 10
3 2.0 20
"""
dic = {"inflation": [], "community_size": []}
for n, i in enumerate(list_inflation):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment