-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
ValueError: setting an array element with a sequence. #9156
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
Comments
pd.show_versions() iirc this is a numpy bug fixing in next version |
|
@jreback I appear to be on a pretty new version of numpy. Is the issues addressed only in a dev version? |
iirc its a future issue not sure why you would do this anyhow |
It came up when trying to use Theano which takes the Dataframe / Series of features and attempts to convert to a numpy array. |
they you ought to raise it with them. This is not standard practice to do this. It exposed a numpy bug. closing as out-of-scope and other module compat. |
Do you think it is a numpy issue? On Sat, Dec 27, 2014, 12:56 jreback notifications@github.com wrote:
|
that's what I said |
Maybe a numpy design flaw but not unambiguously a numpy bug. In my opinion issues like this will be resolved when pandas swaps out numpy for whatever next-gen technology Continuum or Enthought are building. |
no this actually IS a numpy bug (they are not properly handling list-likes that are not subclassed of ndarray) and when dynd becomes main stream it will just be a different set of bugs (prob a lot less of course as the test suites exercise quite a lot). :) |
I personally might agree, but I'm not sure it is a consensus among numpy devs. I've seen some related numpy github issues, but do you have a link to the github issue that most clearly explains this bug? Or should we add a new one? |
though looking at it might be different (but still numpy issue) |
@argriffing what do you think is the right thing for numpy to do in this case? |
This works fine:
but this does not work:
The text was updated successfully, but these errors were encountered: