I got a list of lists with integers and Nones. I want to filter out only the Nones.
[int(all(sub)) for sub in zip(*lists_for_filtering)]
This removes the None's, BUT also the 0 (integer). I want to modify it in the way to keep 0 (integer)
Result is a list list [1,0,1,0,1,0,1,0] --> Nones result in 0, but also 0 results in 0 --> this should result in 1 because its not None