Update common.py
Browse files
common.py
CHANGED
|
@@ -10,7 +10,8 @@ import string
|
|
| 10 |
from rich import print
|
| 11 |
import jsonlines
|
| 12 |
|
| 13 |
-
|
|
|
|
| 14 |
|
| 15 |
dump_counts = pd.DataFrame(sorted(data.items()), columns=["cluster_size_range", "counts"])
|
| 16 |
|
|
|
|
| 10 |
from rich import print
|
| 11 |
import jsonlines
|
| 12 |
|
| 13 |
+
with open("data/cluster_sizes_100.json", "r") as f:
|
| 14 |
+
data = json.load(f)
|
| 15 |
|
| 16 |
dump_counts = pd.DataFrame(sorted(data.items()), columns=["cluster_size_range", "counts"])
|
| 17 |
|