print debugging
This commit is contained in:
parent
31aaa03079
commit
a7182ff3dc
@ -126,8 +126,11 @@ def cosine_similarities_weekly(tfidf_path, outfile, term_colname, included_subre
|
||||
return outfile.exists()
|
||||
|
||||
if not overwrite:
|
||||
print("not overwriting")
|
||||
weeks = [week for week in weeks if not output_exists(week)]
|
||||
|
||||
print(weeks, flush=True)
|
||||
|
||||
if clusters is not None:
|
||||
clusters_raw = pd.read_feather(clusters)
|
||||
clusters = duckdb.sql("SELECT A.subreddit AS sr_i, B.subreddit AS sr_j FROM clusters_raw AS A JOIN clusters_raw AS B ON A.cluster == B.cluster WHERE A.cluster != -1 AND B.cluster != -1").df()
|
||||
|
Loading…
Reference in New Issue
Block a user