3 ms·
Maybe the justification is that you do not know the type of an empty python list. But numpy at least could assume that the numbers are floats and give the corr
by enriquto 7y ago
Maybe the justification is that you do not know the type of an empty python list. But numpy at least could assume that the numbers are floats and give the correct result instead of raising an error (and thus complicating the interface).
- throwaway_pdp09 7y ago> Maybe the justification is that you do not know the type of an empty python list. Excellent point, thanks!