The Python Oracle

Find groups of values that are !=0 in a list

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Lost Civilization

--

Chapters
00:00 Question
02:55 Accepted answer (Score 3)
03:59 Answer 2 (Score 2)
05:17 Answer 3 (Score 1)
05:58 Answer 4 (Score 1)
06:46 Thank you

--

Full question
https://stackoverflow.com/questions/4868...

Question links:
[other questions]: https://stackoverflow.com/questions/4807...
[actual input data]: https://pastebin.com/3XpKVZBY
[actual input data after smoothing]: https://pastebin.com/uRB4xKjy

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #numpy

#avk47