I have a set of imported CSV files stored under the variable name data
. The imported files are of different lengths and I would like to be able to discard the ones below a certain length.
I believe that Mathematica has a Select[]
function that might be right for this, but I haven't been able to manage it yet. My elementary attempt looks like this, but it returns a set of empty sets.
newdata = Table[Select[data[[i]], Length[data[[i]]] > 47], {i, 1, Length[data]}]
Any help would be appreciated, thanks!
data[[1]]
is like"col1,col2,...\ndata11,data12,...\ndata21,data22,...\n..."
$\endgroup$