I wish to eliminate the dates of my list of BTC prices so that I only have the prices left (I do not need the dates for the purpose of my analysis). The list appears as follows:


Is there an easy command to do so?


  • $\begingroup$ Last /@ ?${}$ $\endgroup$ – AccidentalFourierTransform Jun 1 at 15:35
  • $\begingroup$ I was running Flatten[..] and then I need every 4 element of the list for the whole dataset. Last[..] gives me only the last entry. $\endgroup$ – Waie Jun 1 at 15:40
  • $\begingroup$ @AccidentalFourierTransform Thank you! I actually used: Last /@ Partition[Flatten[Btc], 4] And it worked :) $\endgroup$ – Waie Jun 1 at 15:54
  • 1
    $\begingroup$ data[[All,2]] $\endgroup$ – Roman Jun 1 at 15:56
  • 1
    $\begingroup$ Or btc[[All, 2;;]] if you have more columns. Look up the documentation on Part. $\endgroup$ – Roman Jun 1 at 16:06

I frequently use this shorthand (use "-1" for last or could also use "2"):


Not the answer you're looking for? Browse other questions tagged or ask your own question.