]> code.communitydata.science - cdsc_reddit.git/commitdiff
Merge branch 'charliepatch' of code:cdsc_reddit into charliepatch
authorNate E TeBlunthuis <nathante@n3008.hyak.local>
Mon, 26 Apr 2021 20:22:29 +0000 (13:22 -0700)
committerNate E TeBlunthuis <nathante@n3008.hyak.local>
Mon, 26 Apr 2021 20:58:25 +0000 (13:58 -0700)
similarities/tfidf.py

index 7f579faabb7092dacfb210f913f7b243d4c79337..98a283528e1066bafa2759cb6c548e5eae2caf26 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',compression='snappy')
+    df.write.parquet(outpath,mode='overwrite',copmression='snappy')
 
     spark.stop()
 

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