See also this related post and its solution.
Adapted here for reference:
using DelimitedFiles, DataFrames
input2="""
6
0
0 0 1; 4
0 0 2; 5
0 0 3; 6
"""
io = IOBuffer(input2)
data = readdlm(IOBuffer(replace(read(io, String), ";" => " ")), skipstart=2) # trick by @GunnarFarneback
df = DataFrame(data, :auto)