scipy.io
scipy.io module
scipy.io.hbwrite, scipy.ip.hbread
data = sparse.csr_matrix(sparse.eye(3)) # create a sparse matrix
io.hb_write("data.hb", data) # write a hb file
io.hb_read("data.hb").todense() # read a hb file
3×3 Matrix{Float64}:
1.0 0.0 0.0
0.0 1.0 0.0
0.0 0.0 1.0