Skip to content

Commit

Permalink
Formatted with black
Browse files Browse the repository at this point in the history
  • Loading branch information
Re-st authored and github-actions[bot] committed Nov 27, 2023
1 parent 640a7d3 commit d07200c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions analysis/age/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"기초의원비례대표": "local_councilor",
}


def run(cluster_by, filenames, N=5, folder_name="To_be_filled"):
## TO-DO: excel말고 mongodb에서 받아오도록 합니다.
assert cluster_by in ["sdName", "wiwName"]
Expand Down Expand Up @@ -53,6 +54,8 @@ def run(cluster_by, filenames, N=5, folder_name="To_be_filled"):
method=method,
)
cluster(df, N, basedic)


def main(N=5):
run("sdName", ["[당선][시도의원].xlsx", "[당선][광역의원비례대표].xlsx"])
run("sdName", ["[후보][시도의원].xlsx", "[후보][광역의원비례대표].xlsx"])
Expand Down

0 comments on commit d07200c

Please sign in to comment.