I have a very long list such as:
At the end of each sublist for some reason I have {,-6}
. How can I remove that from each sublist of the list?
Thanks
EDIT
The list is generated getting data from an Excel file and for some reason at the end it gives me {,-6}
using:
Extract[Import["file.xlsx"], 1][[3 ;; All, {i, i + 1}]]
Most/@list
orlist[[All, ;;-2]]
? $\endgroup$ – kglr Jan 13 at 4:58Most/@First[Import["file.xlsx"]]
orImport["file.xlsx"][[1,All,;;-2]]]
$\endgroup$ – kglr Jan 13 at 5:00{,-6}
values from that one? $\endgroup$ – John Jan 13 at 5:12