CA-HVF2017 / readfiles.py
alinutzal's picture
Remove large CSV files and replace them with Parquet format for improved performance and storage efficiency. Added a new script to read and display the structure of the new Parquet files.
39c237d
raw
history blame contribute delete
316 Bytes
import polars as pl
hh = pl.read_parquet("data\\ATLAS_output_CA_hh.parquet")
veh = pl.read_parquet("data\\ATLAS_output_CA_veh.parquet")
s_pop = pl.read_parquet("data\\synthetic_population.parquet")
print("Households:", hh.columns)
print("Vehicles:", veh.columns)
print("Synthetic Population:", s_pop.columns)