I referred to Corey's code to make few things work. His work - https://vizhub.com/python-monty/cyber-attacks-by-year-v3