0
$\begingroup$

I have a large table in form

 exampletable = {{1, 2, 3, 4, 6 }, {2, 3, 7, 8, Indeterminate }, {9, 2, 6, 4, Indeterminate }, {1, 7, 3, 4, 4 }}

enter image description here

How to Remove rows of table based upon Indeterminate value in final column to to get result:

enter image description here

$\endgroup$
3
  • 5
    $\begingroup$ Try e.g.: Cases[exampletable, x : {__} /; FreeQ[x, Indeterminate]] $\endgroup$ Aug 4 at 10:33
  • 4
    $\begingroup$ Or DeleteCases[exampletable, {___, Indeterminate, ___}, {1}] or Select[exampletable, Not[MemberQ[#, Indeterminate]] &] $\endgroup$
    – Ben Izd
    Aug 4 at 10:36
  • 4
    $\begingroup$ This tutorial may be useful. $\endgroup$
    – user293787
    Aug 4 at 11:26

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.