On Jul 2, 2014 10:49 AM, "Nathaniel Smith" wrote:
>
> I admit I can't actually think of any features this would enable for us
though...
Could it be useful for structured arrays?
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.sc
On Thu, Jul 3, 2014 at 3:30 AM, Julian Taylor wrote:
> numpy descends into the lists even if you request a object dtype as it
> treats object arrays containing nested lists of equal size as
> ndimensional:
>
> np.array([[1,2], [3,4]], dtype=object).ndim
> 2
>
> I don't think we have a constructor
Thanks. No, it's not what I'm looking for.
I'm looking for the code that parses the string "f8'
'=f4'
'float32'
'>c16'
...
Ideally, I want the exhaustive list of valid input strings that describe
standard ndarrays (i.e. ndarrays with simple entries as opposed to records
or subarrays). Lacking
Dear Ted,
* Ted Sandler [2014-07-03]:
> Hi all, is there a spec or grammar for valid values of numpy dtype
> descriptor strings?
>
> I am writing code to parse ".npy" files from Java and want to be able to
> handle the range of ndarray descriptor strings. I came across this code:
>
>dtype =
On Thu, Jul 3, 2014 at 5:36 AM, Marc Hulsman wrote:
> This can however go wrong. Say that we have nested variable length
> lists, what sometimes happens is that part of the data has
> (by chance) only fixed length nested lists, while another part has
> variable length nested lists. If we then unp
Hi all, is there a spec or grammar for valid values of numpy dtype
descriptor strings?
I am writing code to parse ".npy" files from Java and want to be able to
handle the range of ndarray descriptor strings. I came across this code:
dtype = numpy.dtype(d['descr'])
at line 267 in format.py:
HI Folks,
I will be hosting a "Teaching the SciPy Stack" BoF at SciPy this year:
https://conference.scipy.org/scipy2014/schedule/presentation/1762/
(Actually, I proposed it for the conference, but would be more than happy
to have other folks join me in facilitating, hosting, etc.)
I've put up
Hi,
On Thu, Jul 3, 2014 at 12:51 PM, Carl Kleffner wrote:
> Hi Matthew,
>
> I can make it in the late evening (MEZ timezone), so you have to wait a bit
> ... I also will try to create new numpy/scipy wheels. I now have the latest
> OpenBLAS version ready. Olivier gaves me access to rackspace. I w
Pandas might have more use for this than NumPy. Database interfaces might
also have use for this.
Sturla
Nathaniel Smith wrote:
> There's some discussion on python-ideas about making it possible for python
> indexing to accept kwargs, eg
>
>arr[1:2, foo=bar]
>
> Since numpy is a very heavy
On Do, 2014-07-03 at 14:36 +0200, Marc Hulsman wrote:
> On 07/03/2014 11:43 AM, Julian Taylor wrote:
> > On second though I guess adding a short circuit to the dimension
> > discovery on mismatching list length with object type should solve the
> > issue too. A bit more information on the use case
On 07/03/2014 11:43 AM, Julian Taylor wrote:
> On second though I guess adding a short circuit to the dimension
> discovery on mismatching list length with object type should solve the
> issue too. A bit more information on the use case would still be
> useful, why do you need to use numpy arrays f
Hi Matthew,
I can make it in the late evening (MEZ timezone), so you have to wait a bit
... I also will try to create new numpy/scipy wheels. I now have the latest
OpenBLAS version ready. Olivier gaves me access to rackspace. I wil try it
out on the weekend.
Regards
Carl
2014-07-03 12:46 GMT
Hi,
numpy extensions are linked against python27.dll. I have no idea, if it
works to copy python27.dll side by side to python27_d.dll (I guess not).
But you can try it anyway. The clean way is to get or compile a debug numpy
version linked against python27_d.dll
Regards
Carll
2014-07-03 12:51
I guess this one's mainly for Carl:
On Thu, Jul 3, 2014 at 11:06 AM, Matthew Brett wrote:
> Hi,
>
> On Thu, Jul 3, 2014 at 4:56 AM, Sturla Molden wrote:
>> On 02/07/14 19:55, Chris Barker wrote:
>>
>>>
>>> Indeed -- the default (i.e what you get with pip install numpy) should
>>> be SSE2 -- I":d
Hi,
to trace this error, you can try to run your programm with the dependency
walker http://www.dependencywalker.com/ . In the menu there is a profiling
option. With 'Start profiling' you get messages of all accesses to DLLs and
Python extensions. Most likely a DLL is not found.
Be aware: for 64bi
Hi,
On Thu, Jul 3, 2014 at 4:56 AM, Sturla Molden wrote:
> On 02/07/14 19:55, Chris Barker wrote:
>
>>
>> Indeed -- the default (i.e what you get with pip install numpy) should
>> be SSE2 -- I":d much rather have a few folks with old hardware have to
>> go through some hoops that n have most peop
On Thu, Jul 3, 2014 at 11:30 AM, Julian Taylor
wrote:
> numpy descends into the lists even if you request a object dtype as it
> treats object arrays containing nested lists of equal size as
> ndimensional:
>
> np.array([[1,2], [3,4]], dtype=object).ndim
> 2
>
> I don't think we have a constructor
numpy descends into the lists even if you request a object dtype as it
treats object arrays containing nested lists of equal size as
ndimensional:
np.array([[1,2], [3,4]], dtype=object).ndim
2
I don't think we have a constructor that limits the maximum dimension,
only one the minimum dimension.
I
On Thu, Jul 3, 2014 at 11:14 AM, Pablo Pérez García
wrote:
> Hello, I'm a newcomer and I have a question I did not manage to solve yet, I
> posted it into these two stack-overflow entries:
>
> http://stackoverflow.com/questions/24529811/compiling-numpy-for-windows-python-2-7-7
>
> http://stackover
Hello, I'm a newcomer and I have a question I did not manage to solve yet,
I posted it into these two stack-overflow entries:
http://stackoverflow.com/questions/24529811/compiling-numpy-for-windows-python-2-7-7
http://stackoverflow.com/questions/24548485/using-numpy-on-an-embedded-python-interpre
Hello,
In my application I use nested, someitmes variable length lists, e.g.
[[1,2], [1,2,3], ...]. These
can also become double nested, etc. up to arbitrary complexity.
I like to use numpy indicing on the outer list,
i.e. I want to create: array([[1, 2], [1, 2, 3]], dtype=object)
However, becau
On 03.07.2014 05:56, Sturla Molden wrote:
> On 02/07/14 19:55, Chris Barker wrote:
>
>>
>> Indeed -- the default (i.e what you get with pip install numpy) should
>> be SSE2 -- I":d much rather have a few folks with old hardware have to
>> go through some hoops that n have most people get something
22 matches
Mail list logo