Create ipython notebooks for schools
Currently all the school listed in ccschol folder.
I need to write a script that will take a few arguments to generate nikola blogs for every school in a list.
In [1]:
import pandas
In [2]:
import arrow
In [ ]:
In [3]:
twepan = pandas.read_csv('/home/wcmckee/Downloads/tweet_activity_metrics_brobeur_20150813_20150909_en.csv')
In [ ]:
pytim = list()
In [ ]:
tweim = list()
In [ ]:
twesim = list()
In [ ]:
twesim.append(twepan.retweets)
In [ ]:
tweza = list()
In [ ]:
tweza.append(twepan.text)
In [ ]:
for twe in tweza:
#if '#' in twe.values:
print(twe.values)
In [ ]:
twesim.sort()
In [ ]:
for twez in twesim:
print (twez.values)
In [ ]:
tweim.append(twepan.impressions)
In [ ]:
for twe in tweim:
print (twe.values)
pytim.append(twe.values)
In [ ]:
for pyt in pytim:
print(pyt)
In [ ]:
len(pytim)
In [ ]:
(pytim)
In [ ]:
for pyt in pytim:
print arrow.(pyt)
In [ ]:
pandas.DatetimeIndex(tweim)
In [ ]:
timtim = list()
In [ ]:
for twe in twepan.time:
print (twe)
timtim.append(twe)
In [ ]:
import numpy
In [ ]:
import pandas
In [ ]:
pandas.TimeSeries(timtim)
In [ ]:
for tiz in timtim:
pandas.TimeSeries(tiz)
In [ ]:
pandas.TimeSeries(timtim)
In [ ]: