Timeline for Find partial "row" matches and deleting them
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 6, 2020 at 21:30 | vote | accept | testrado | ||
Feb 6, 2020 at 10:49 | comment | added | testrado | For {{A, Null,C, Null},{A, Null, C, D}} I'd like to retain {A, Null, C, D} | |
Feb 6, 2020 at 10:34 | answer | added | kglr | timeline score: 1 | |
Feb 6, 2020 at 10:33 | comment | added | amator2357 |
As per your suggestion: If[SubsetQ[Last@data,#],Sequence[],#]& /@ data /. Null -> Sequence[] works in this case, but as @Lotus pointed out, it is not clear what output do you expect when {A,B,C,D} is not there
|
|
Feb 6, 2020 at 10:31 | comment | added | Lotus | If {A,B,C,D} is not present in the list what do you expect as the output ? | |
Feb 6, 2020 at 10:20 | review | First posts | |||
Feb 6, 2020 at 10:57 | |||||
Feb 6, 2020 at 10:17 | history | asked | testrado | CC BY-SA 4.0 |