Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. cols = ['blackrock_total_13g_30w', 'merging_id', 'name_of_issuer']
  2. tups = list(itertools.product(['111', '222'], month_range))
  3. tups_ind = pd.MultiIndex.from_tuples(tups, names = ['cusip', 'end_day_of_month'])
  4. df = pd.DataFrame(index=tups_ind, columns=cols)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement