This repository contains the code to prepare the data and plots from the chat dumps (Facebook and Whatsapp). The subsequent blog posts are here
- Chatting Up (code for this part is not present here anymore, you can check the commit history to get it)
- Chatting Up - Part II
- Python3.6
- pandas
- numpy
- seaborn
- matplotlib
- wordcloud
- scipy (optional)
In your config.py
, change your base directory and make all the data directories and change the paths accordingly.
Run the files in the following order.
# Cleaning the data
python facebook.py
python whatsapp.py
# Combining both the data sets into one
python comb.py
# To get the plots
python save_plots.py
You'll get all the plots saved as jpeg in the Plots
directory.