Notebook
In [1]:
# - Will cause an error because I have not bought the Eventvestor data yet
#from quantopian.interactive.data.eventvestor import _13d_filings

# module import provided in the example notebook that is missing the .interactive
#from quantopian.data.eventvestor import _13d_filings_free

# My fix
from quantopian.interactive.data.eventvestor import _13d_filings_free
# import data operations
from odo import odo
# import other libraries we will use
import pandas as pd


#### The code commented below is the culrpit ########
#names = _13d_filings_free.like(acquiring_entity='*Icahn*')

# This is the solution that worked for me
names = _13d_filings_free[_13d_filings_free.acquiring_entity.like('*Icahn')]


# now let's filter down to the percentage of shares, timestamp, and sid
names = names[['timestamp', 'percent_shares', 'sid']]
# When displaying a Blaze Data Object, the printout is automatically truncated to ten rows.
names.sort('timestamp')
Out[1]:
timestamp percent_shares sid
0 2008-08-12 6.03 3806
1 2010-05-14 11.92 10649
2 2010-05-28 6.86 4794
3 2010-06-09 9.67 23311
4 2010-12-18 5.80 8461
5 2011-02-12 9.08 1616
6 2011-06-18 6.95 3014
7 2011-07-01 9.51 5719
8 2011-07-29 9.98 1636
9 2011-10-14 9.80 5199
10 2011-10-22 7.94 27669