In [2]:
from gtd import *
%matplotlib inline
plt.style.use('seaborn-whitegrid')
pd.set_option('display.max_colwidth', -1)
summaryStatistics()
In [3]:
Bar(OrderedDict(sorted(Counter(global_data.iyear).items())), title='Global Trend', ylabel='Attacks', rotation=270)
In [4]:
Bar(OrderedDict(sorted(Counter(us_internal_data.iyear).items())), title='US Internal Trend', ylabel='Attacks', rotation=270)
In [5]:
Bar(OrderedDict(sorted(Counter(us_external_data.iyear).items())), title='US External Trend', ylabel='Attacks', rotation=270)
In [6]:
globalTrends()
In [7]:
correlation()
In [8]:
pieChart()
In [9]:
prepareAlQaidaData()
alQaidaTrends()
In [10]:
prepareIsilData()
isilTrends()
In [ ]: