From 205e815aa13049512e5c72119a94903a5f328175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=BD=A6=E9=92=8A?= <zhangyanzhao@igengmei.com> Date: Fri, 22 Nov 2019 16:27:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9es=20tag=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- es_tag.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/es_tag.py b/es_tag.py index 050c6d61..39922c4c 100644 --- a/es_tag.py +++ b/es_tag.py @@ -436,7 +436,7 @@ def answer(): df = pd.DataFrame(total_list) df = df.rename(columns={0: "tag", 1: "star_3", 2: "star_4", 3: "star_5", 4: "video_star_3", 5: "video_star_4", 6: "video_star_5"}) - df.to_csv("/home/gmuser/answer.csv", index=False, encoding="utf_8_sig") + df.to_csv("/home/gmuser/tag_answer.csv", index=False, encoding="utf_8_sig") def question(): @@ -682,7 +682,7 @@ def question(): df = pd.DataFrame(total_list) df = df.rename(columns={0: "tag", 1: "number", 2: "video_number"}) - df.to_csv("/home/gmuser/question.csv", index=False, encoding="utf_8_sig") + df.to_csv("/home/gmuser/tag_question.csv", index=False, encoding="utf_8_sig") def topic(): @@ -1073,7 +1073,7 @@ def topic(): df = pd.DataFrame(total_list) df = df.rename(columns={0: "tag", 1: "star_3", 2: "star_4", 3: "star_5", 4: "video_star_3", 5: "video_star_4", 6: "video_star_5"}) - df.to_csv("/home/gmuser/topic.csv", index=False, encoding="utf_8_sig") + df.to_csv("/home/gmuser/tag_topic.csv", index=False, encoding="utf_8_sig") def test_topic(): query_operator = "and" -- 2.18.0