79835654

Date: 2025-12-02 08:55:20
Score: 2.5
Natty:
Report link

thanks @usdn for your reply.

By interval I mean all the consecutive elements higher than half-threshold, yes they are non-zero intervals.

Thanks for the suggestion, however, this is part of a larger project and introduce a new module like pandas or numba just for this issue, unfortunately is not a possible solution.
I can use numpy, scipy and pure Python.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @usdn
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: cicciodevoto