]> code.communitydata.science - cdsc_reddit.git/blobdiff - similarities/tfidf.py
add note to try other tf normalization strategies.
[cdsc_reddit.git] / similarities / tfidf.py
index 98a283528e1066bafa2759cb6c548e5eae2caf26..7f579faabb7092dacfb210f913f7b243d4c79337 100644 (file)
@@ -17,7 +17,7 @@ def _tfidf_wrapper(func, inpath, outpath, topN, term_colname, exclude, included_
 
     df = func(df, include_subs, term_colname)
 
-    df.write.parquet(outpath,mode='overwrite',copmression='snappy')
+    df.write.parquet(outpath,mode='overwrite',compression='snappy')
 
     spark.stop()
 

Community Data Science Collective || Want to submit a patch?