QUT-Digital-Observatory / coordination-network-toolkit

A small command line tool and set of functions for studying coordination networks in Twitter and other social media data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

a note to users: CSV should not include index column

weiaiwayne opened this issue · comments

I previously had trouble with coord_net_tk.preprocess.preprocess_csv_files() which threw me the 'too many values to unpack' error. I just found out that the importing CSV should not include index column. Without the index, the code works perfectly!

Thanks for pointing that out - we know the documentation is a bit sparse, do you have any insight into what would have made it easier for you?

You can add a brief mention of not including the index column when saving csc file..

Additionally, I will have to remove extremely short tweets to prevent a user-defined function error when creating co-similar-tweet networks. Other than that, the script runs beautifully!