Skip to main content

Questions tagged [list-manipulation]

Questions on the manipulation of List objects in Mathematica, and the functions used for these manipulations.

Filter by
Sorted by
Tagged with
2 votes
1 answer
37 views

I have been trying to efficiently process data scraped from websites. One issue is that the data I want is often in the form of a matrix embedded at some level in a ragged list. I have developed one ...
David Keith's user avatar
  • 5,468
3 votes
1 answer
54 views

According to the documentation, Select[data,crit->prop] should return the property prop of the selected elements. When I run ...
Paweł Korzeb's user avatar
2 votes
1 answer
222 views

Assume that I define: ...
MTYS's user avatar
  • 173
3 votes
3 answers
238 views

This may be a silly question, and if it is, I'm willing to withdraw it. I have a list of lists myInitialList. I wish to write a function to transform ...
Andrew's user avatar
  • 10.7k
4 votes
1 answer
152 views

Say I have a list containing some expressions, for instance ...
eddy ardonne's user avatar
3 votes
1 answer
124 views

The title says it all. These two examples both have StringEndsQ emit an error message because it's being evaluated on the head of the input list. ...
Adam's user avatar
  • 4,345
5 votes
2 answers
284 views

Suppose I have a string myString = "ABC DEF". To split myString into a list of separate strings delimited by ...
Andrew's user avatar
  • 10.7k
5 votes
4 answers
340 views

Given a list, I want to find all possible ways to split it into sublists such that: Each sublist has length greater than 1. Any two consecutive sublists share exactly one common element. All elements ...
internet's user avatar
  • 1,427
7 votes
7 answers
368 views

I have myList, a list of triples: myList = { {a1, a2, a3}, {b1, b2, b3}, {c1, c2, c3} }; I wish to apply a function ...
Andrew's user avatar
  • 10.7k
4 votes
3 answers
179 views

I have a list of binary functions such as {Plus, Times, Subtract} and a list of symbols like {a, b, c, d}. I want to construct ...
expression's user avatar
  • 5,782
3 votes
2 answers
146 views

I have just encountered a weird problem for which I cannot understand the reason. Say I have two vectors that I define as o = {0, 1}; z = {1, 0}; Now I am ...
Erosannin's user avatar
  • 1,226
10 votes
11 answers
508 views

Suppose I have a list of binary functions, e.g. funcs = {Plus, Times, Power} as well as a list of arguments, e.g. ...
thecommexokid's user avatar
1 vote
3 answers
174 views

My data looks something like this: ...
Will Gage's user avatar
2 votes
2 answers
141 views

I have data I want to plot comprised of values on time. The data comes from a .log file imported as Table. Each line in this file is logged as [2025.09.15-12.36.00:160][543]Log: 42 being [Date and ...
Skuva's user avatar
  • 23

15 30 50 per page
1
2 3 4 5
653