Commit c28175e7 authored by Decoupes Remy's avatar Decoupes Remy
Browse files

fix typo

parent 2b1595ef
......@@ -191,15 +191,11 @@ if __name__ == '__main__':
gephi["Label"] = gephi["tf_idf_terms"]
gephi["timeset"] = gephi["@timestamp"]
gephi = gephi[gephi["Target"].str.len() !=0] # filter out tweet that are not retweeted
gephi[["Id", "label", "Source", "Target", "Timestamp"]].to_csv(
"analysis-output/acquitaine_script_gephi.csv",
index=False
)
gephi[["Id", "Label", "Source", "Target", "timeset"]].to_csv(
"analysis-output/acquitaine_script_gephi_edge.csv",
index=False
)
gephi.to_csv("analysis-output/gephi-debug.csv")
# gephi.to_csv("analysis-output/gephi-debug.csv")
# Node: newspapers (MOOD account followed)
gephi_node = pd.DataFrame(gephi["retweeted_status.user.id"].unique(), columns=["retweeted_status.user.id"])
gephi_node["Label"] = gephi_node.merge(news_paper_name, on="retweeted_status.user.id")["account"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment