Skip to main content
replaced http://mathematica.stackexchange.com/ with https://mathematica.stackexchange.com/
Source Link

While I would actually use list[[All, All, 2]] as I have yet to find a case where that is not fastest, you could also do this with Apply:

Apply[#2 &, list, {2}]

I take the comment about wearing out your keys as humorous, nevertheless read this:

Automating Esc [[ Esc formatting?Automating Esc [[ Esc formatting?

While I would actually use list[[All, All, 2]] as I have yet to find a case where that is not fastest, you could also do this with Apply:

Apply[#2 &, list, {2}]

I take the comment about wearing out your keys as humorous, nevertheless read this:

Automating Esc [[ Esc formatting?

While I would actually use list[[All, All, 2]] as I have yet to find a case where that is not fastest, you could also do this with Apply:

Apply[#2 &, list, {2}]

I take the comment about wearing out your keys as humorous, nevertheless read this:

Automating Esc [[ Esc formatting?

added 138 characters in body
Source Link
Mr.Wizard
  • 273.1k
  • 34
  • 595
  • 1.4k

While I would actually use list[[All, All, 2]] as I have yet to find a case where that is not fastest, you could also do this with Apply:

Apply[#2 &, list, {2}]

I take the comment about wearing out your keys as humorous, nevertheless read this:

Automating Esc [[ Esc formatting?

While I would actually use list[[All, All, 2]] as I have yet to find a case where that is not fastest, you could also do this with Apply:

Apply[#2 &, list, {2}]

While I would actually use list[[All, All, 2]] as I have yet to find a case where that is not fastest, you could also do this with Apply:

Apply[#2 &, list, {2}]

I take the comment about wearing out your keys as humorous, nevertheless read this:

Automating Esc [[ Esc formatting?

Source Link
Mr.Wizard
  • 273.1k
  • 34
  • 595
  • 1.4k

While I would actually use list[[All, All, 2]] as I have yet to find a case where that is not fastest, you could also do this with Apply:

Apply[#2 &, list, {2}]