spelling fix.
This commit is contained in:
parent
0613193e9d
commit
ecc50f0249
@ -18,8 +18,8 @@ def build_cluster_timeseries(term_clusters_path="/gscratch/comdata/output/reddit
|
||||
df_submissions = spark.read.parquet("/gscratch/comdata/output/reddit_submissions_by_subreddit.parquet")
|
||||
|
||||
df_comments = df_comments.select(['subreddit','CreatedAt','author'])
|
||||
df_submisisons = df_comments.select(['subreddit','CreatedAt','author'])
|
||||
df = df_comments.union(df_submisisons)
|
||||
df_submissions = df_comments.select(['subreddit','CreatedAt','author'])
|
||||
df = df_comments.union(df_submissions)
|
||||
|
||||
df = df.withColumn('week', f.date_trunc('week', f.col("CreatedAt")))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user