Compare commits

..

2 commits

Author SHA1 Message Date
2e38ea848e readme 2022-07-25 22:31:10 +02:00
19ceaca42b add base sourcecode 2022-07-25 22:29:53 +02:00
3 changed files with 20 additions and 0 deletions

View file

@ -1,2 +1,3 @@
# copbird-sna # copbird-sna
This project uses pandas - either run `pip install pandas` to install the needed package or run these files in a conda-enviroment.

11
src/create_dataset.py Normal file
View file

@ -0,0 +1,11 @@
import pandas as pd
tweets_path = "../raw_data/tweets.csv"
tweets = pd.read_csv(tweets_path)
# TODO extract mentions from tweets
# TODO generate cooccurence matrix
# TODO save cooccurence matrix

8
src/create_id_list.py Normal file
View file

@ -0,0 +1,8 @@
import pandas as pd
tweets_path = "../raw_data/tweets.csv"
tweets = pd.read_csv(tweets_path)
for id in tweets.id:
print(id)