I wasn’t clear that this wasn’t a csv file (I had worked a little bit with some in the past). But with your help, I got what I wanted. I did this:

f = readdlm("filename.txt")
nodes_to_node = map(row -> slicedim(f, 1, row), 1:size(f, 1))
# Shift to the left
for i in 1 : length(nodes_to_node)
for j in 2 : length(nodes_to_node[i])
nodes_to_node[i][j-1] = nodes_to_node[i][j]
end
#eliminate duplicate at end
pop!(nodes_to_nodes[i])
end
# Clear out empty values
for i in 1 : length(nodes_to_node)
filter!(e->e≠"",nodes_to_node[i])
end

line2vec(line) = parse.(Int, split(line, ' ' )) # use [2:end] to drop the first element
[line2vec(line) for line in eachline(filename; keep = false) if !isempty(line)]