Neal Becker
2016-11-04 12:06:32 UTC
I find I often write:
np.array ([some list comprehension])
mainly because list comprehensions are just so sweet.
But I imagine this isn't particularly efficient.
I wonder if numpy has a "better" way, and if not, maybe it would be a nice
addition?
np.array ([some list comprehension])
mainly because list comprehensions are just so sweet.
But I imagine this isn't particularly efficient.
I wonder if numpy has a "better" way, and if not, maybe it would be a nice
addition?