Skip to main content
8 events
when toggle format what by license comment
Feb 27 at 13:04 comment added Reinderien That's true; thanks for clarifying!
Feb 26 at 20:55 comment added Sudix @Reinderien It returns true for this case, which it should as the array is sorted. If you plugged it into your test, be aware that np.all sometimes returns np.bool_ instead of bool, so the boolean test using is doesn't work as False and True in this case aren't Singletons anymore.
Feb 26 at 13:31 comment added Reinderien The first method does not actually work. Try for input [0].
S Feb 26 at 11:14 review First answers
Feb 26 at 12:02
S Feb 26 at 11:14 history edited Sudix CC BY-SA 4.0
We can save on np.all(...), so my remark is obsolete as well
Feb 26 at 10:53 history edited Sudix CC BY-SA 4.0
added 438 characters in body
S Feb 26 at 10:46 review First answers
Feb 26 at 10:57
S Feb 26 at 10:46 history answered Sudix CC BY-SA 4.0