Timeline for Deleting certain elements from a nested list
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 23, 2016 at 10:59 | comment | added | garej |
Also Select[#[[-1]] != 0 &][Partition[Flatten[list], 2]] - without nested structure and not fast :))
|
|
Feb 23, 2016 at 6:42 | answer | added | m_goldberg | timeline score: 3 | |
Feb 23, 2016 at 3:39 | comment | added | Guest | @bbgodfrey This DeleteCases command is the first that actually makes sense to me, so thank you very much. | |
Feb 23, 2016 at 3:30 | vote | accept | Guest | ||
Feb 23, 2016 at 2:07 | answer | added | 76 Pinto | timeline score: 4 | |
Feb 23, 2016 at 1:37 | review | Close votes | |||
Feb 23, 2016 at 9:02 | |||||
Feb 23, 2016 at 1:36 | history | edited | martin | CC BY-SA 3.0 |
deleted 31 characters in body
|
Feb 23, 2016 at 1:23 | comment | added | bbgodfrey |
DeleteCases[list, {_, 0}, ∞] also works.
|
|
Feb 23, 2016 at 1:10 | comment | added | Guest | @Algohi it works, thank you! | |
Feb 23, 2016 at 1:08 | comment | added | Basheer Algohi |
list/.{_, 0} :> Sequence[]
|
|
Feb 23, 2016 at 1:07 | review | First posts | |||
Feb 23, 2016 at 1:17 | |||||
Feb 23, 2016 at 1:06 | history | asked | Guest | CC BY-SA 3.0 |