Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

8
  • $\begingroup$ Your approach is quite valid. May I ask why you want to change your current approach? Does it run slow, or is the solution resource intensive? In your last line of code, should it be >=min ? $\endgroup$ Commented Oct 2, 2021 at 9:27
  • $\begingroup$ @Syed Hi, it is {=}. I felt like going around too much in my approach. $\endgroup$ Commented Oct 2, 2021 at 9:34
  • $\begingroup$ Would you share the solution you found with Cases with fewer columns. Why can it not be extended? $\endgroup$ Commented Oct 2, 2021 at 10:01
  • $\begingroup$ Here it is: mathematica.stackexchange.com/questions/10143/… $\endgroup$ Commented Oct 2, 2021 at 10:16
  • 3
    $\begingroup$ Does: MinimalBy[#[[89]] &] @ Select[#[[47]] == 2021 &] @ data do what you want? $\endgroup$ Commented Oct 2, 2021 at 14:33