june.hdf5_savers.save_companies_to_hdf5¶
-
june.hdf5_savers.
save_companies_to_hdf5
(companies: june.groups.company.Companies, file_path: str, chunk_size: int = 500000)¶ Saves the Population object to hdf5 format file
file_path
. Currently for each person, the following values are stored: - id, super_area, sector, n_workers_max,- companies
population object
- file_path
path of the saved hdf5 file
- chunk_size
number of people to save at a time. Note that they have to be copied to be saved, so keep the number below 1e6.