[Numpy-discussion] how to create an array of objects that are sequences?
Sat Jan 5 01:45:45 CST 2008
Chris Barker wrote:
> Travis E. Oliphant wrote:
>> I like the depth option, and that could be used with the current
>> interface without too much difficulty, I think.
>> This question does come up quite often and should probably be addressed.
> Yes, it has, but the depth option was discussed too, and while it might
> solve some problems, it would still be ambiguous:
> What if your "objects" were nested sequences, and you wanted to partly
> flatten them -- which would you flatten?
I'm pretty sure that that is exactly the ambiguity that the depth option
resolves. Can you give me an example where it's still ambiguous with the depth
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Numpy-discussion