I assume my question has been answered before, but I can't find such an answer anywhere:.
How can I drop the first element from each sublist within a list? I should be able to use
Map[Drop, list,2]
right? But how could I give Drop
the arguments it needs from within Map?
Rest
instead:Rest /@ list
$\endgroup$Drop[list, None, 1]
. $\endgroup$Map
in the documentation forMap
, the Pure Functions tutorial, and the Function (&) documentation. $\endgroup$