init
Browse files- process/tweet_topic.py +1 -0
process/tweet_topic.py
CHANGED
@@ -7,6 +7,7 @@ data = load_dataset("cardiffnlp/tweet_topic_multi")
|
|
7 |
|
8 |
|
9 |
def process(tmp):
|
|
|
10 |
tmp.pop("label_name")
|
11 |
tmp = [i.to_dict() for _, i in tmp.iterrows()]
|
12 |
for i in tmp:
|
|
|
7 |
|
8 |
|
9 |
def process(tmp):
|
10 |
+
tmp.pop("id")
|
11 |
tmp.pop("label_name")
|
12 |
tmp = [i.to_dict() for _, i in tmp.iterrows()]
|
13 |
for i in tmp:
|