Do you hate Python’s range() and want to use R’s seq()?
I do. So I implemented R's function in Python. I wrote a bunch of tests for this for most uses I could think of and they all work. Except the…
I do. So I implemented R's function in Python. I wrote a bunch of tests for this for most uses I could think of and they all work. Except the…
Suppose you have some function that returns possibly nested lists with empty lists inside. Worse, they may have lists with lists with an empty list inside. And suppose you want…