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.
MIT License
72 stars 14 forks source link

a note to users: CSV should not include index column #10

Open weiaiwayne opened 3 years ago

weiaiwayne commented 3 years ago

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!

SamHames commented 3 years ago

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?

weiaiwayne commented 3 years ago

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!