1
0

pass weeks as strings.

This commit is contained in:
Nathan TeBlunthuis 2024-12-28 14:10:55 -08:00
parent 02ec11f726
commit 3f277ad99e

View File

@ -40,7 +40,7 @@ def _week_similarities(week, simfunc, tfidf_path, term_colname, included_subredd
term_colname=term_colname, term_colname=term_colname,
included_subreddits=included_subreddits, included_subreddits=included_subreddits,
topN=topN, topN=topN,
week=week, week=week.item().replace(tzinfo=pytz.UTC).isoformat('T'),
rescale_idf=False) rescale_idf=False)
tfidf_colname='tf_idf' tfidf_colname='tf_idf'