Re:Show HN: Array – A Better Python List
by wodenokoto on Monday January 11, 2021 @06:56AM
(#25727766)
I think the complaint is that you are using `bool` as a `all()` call on your Arrays.
If you used `all()` in your implementation instead, you could be compatible with the idiomatic use of `bool(my_list)` and the _very_ common `if my_list:` structure could be used with Arrays too (like most people probably would expect from a "better list type")
Regardless, Pandas struggles with the same problem, so you are at least in good company :)
If you used `all()` in your implementation instead, you could be compatible with the idiomatic use of `bool(my_list)` and the _very_ common `if my_list:` structure could be used with Arrays too (like most people probably would expect from a "better list type")
Regardless, Pandas struggles with the same problem, so you are at least in good company :)