pass weeks as strings.
This commit is contained in:
parent
02ec11f726
commit
3f277ad99e
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user