[ADD] new files for file management, modules and packages

This commit is contained in:
Eduardo Cueto Mendoza 2020-05-10 22:34:44 -06:00
parent 0cb62245ce
commit 85689260e7
2 changed files with 12 additions and 0 deletions

View File

@ -2,6 +2,8 @@ elements = readdlm("elements.txt")
#elements = readdlm("elements.txt",'\t') #elements = readdlm("elements.txt",'\t')
println(typeof(elements))
println(elements[1, 1]) println(elements[1, 1])
#println(elements[1]) #println(elements[1])
@ -11,6 +13,10 @@ println(typeof(elements[1,1]))
println(collect(1:9)) println(collect(1:9))
m = reshape(collect(1:9),(3,3)) m = reshape(collect(1:9),(3,3))
m1 = reshape(1:9,(3,3))
println(m)
println(m1)
writedlm("numbers.txt",m,'\t') writedlm("numbers.txt",m,'\t')
m2 = readdlm("numbers.txt",Int8) m2 = readdlm("numbers.txt",Int8)
@ -18,3 +24,9 @@ m2 = readdlm("numbers.txt",Int8)
elements = readcsv("elements.csv") elements = readcsv("elements.csv")
elements, header = readcsv("elements.csv"; header=true) elements, header = readcsv("elements.csv"; header=true)
println(elements)
println(header)
println(elements)