2
$\begingroup$

I need to Import datas, then I use Import["salida.dat","Table"] and the result is:salida = {{1,2},,{3,4}}. How can I remove salida = and have only the list and Why do this has two commas and how can I delete them?

$\endgroup$
1
  • 7
    $\begingroup$ What does FilePrint @ "salida.dat" return? $\endgroup$
    – Kuba
    Commented May 28, 2018 at 11:24

1 Answer 1

2
$\begingroup$

Try:

Cases[Import["salida.dat","Table"],{_,_}]
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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