text_plain_output_1.png
from plotly.offline import iplot, init_notebook_mode

from subprocess import check_output

import pandas as pd

import pandas as pd
import numpy as np
import plotly.plotly as py
import plotly.graph_objs as go
from plotly import tools
from plotly.offline import iplot, init_notebook_mode
init_notebook_mode()
from subprocess import check_output
print(check_output(['ls', '../input']).decode('utf8'))
pakistan = pd.read_csv('../input/PakistanDroneAttacks.csv', encoding='ISO-8859-1')
pakistan.columns = pakistan.columns.str.lower()
pakistan = pakistan.dropna(subset=['date'])
separate = pakistan['date'].str.split(',')
day, month, years = zip(*separate)
pakistan['years'] = years