# Toy example with the iris data set
# writing a hdd file
hdd_path = tempfile()
write_hdd(iris, hdd_path, rowsPerChunk = 30)
# reading the full data in memory
base_mem = readfst(hdd_path)
# is equivalent to:
base_hdd = hdd(hdd_path)
base_mem_bis = base_hdd[]
Run the code above in your browser using DataLab