Skip to content

Instantly share code, notes, and snippets.

@dalejung
Created August 3, 2012 16:27
Show Gist options
  • Save dalejung/3249209 to your computer and use it in GitHub Desktop.
Save dalejung/3249209 to your computer and use it in GitHub Desktop.
data = []
for d in range(d):
temp = df.ix[:, ['event_id', 'obj_%d_id' % d, 'obj_%d_foo' % d, 'obj_%d_bar' % d]]
data.append(temp)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment