I've ran a small pilot study and I'm currently analysing my reaction time data.
In my dataframe, I'm looking at the reaction time (RT) across my columns some rows have just a singular value like this [0.8414999999999964]
Others have multiple like this [1.0113000000119143,1.3689999999999998] or [0.7324999999999875,1.1204999999999927,1.3931000000238214]
Is there a way I can keep the final value in rows with mutiple RT, so the row with this RT [0.7324999999999875,1.1204999999999927,1.3931000000238214]
would then become
[1.3931000000238214]
Thanks in advance!
Example data-
I have a data frame of 1 column of RT values
looks sort of like this
RT
[0.8414999999999964]
[2.1925999999642443]
[1.810899999976158]
[2.2231999999880827]
[1.0113000000119143,1.3689999999999998]
[1.0415000000000134]
[1.3503999999761618]
Image