Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: ndarray to df loses field names #273

merged 1 commit into from Aug 2, 2015


Copy link

commented Aug 1, 2015

I couldn't run a transform on an InteractiveSymbol wrapping an ndarray because it pushed it into a df and lost all the column information

In [1]: es = bz.Data(np.arange(15).reshape(5, 3), fields=list('abc'))

In [2]: bz.transform(es, d=es.a + es.b)
KeyError: 'a'

@llllllllll llllllllll added the bug label Aug 1, 2015

@cpcloud cpcloud added this to the 0.3.4 milestone Aug 2, 2015


This comment has been minimized.

Copy link

commented Aug 2, 2015

Nice find. Merging

cpcloud added a commit that referenced this pull request Aug 2, 2015

Merge pull request #273 from quantopian/ndarray-to-df
BUG: ndarray to df loses field names

@cpcloud cpcloud merged commit 5ec2565 into blaze:master Aug 2, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.