Disk read¶
Inspired by the load_cloud_data
method, we provide a high level method to
load data from disk.
It's interface reads
def disk_load(file_path: Path) -> Any:
where:
file_path
: a pathlib Path specifying where the data is located on disk. Remember to read the forge key page to learn how to properly... Well, forge a key 😊.
As of 2024/05, this method can read the following file types (it relies on the file extension given in file_type
to use the appropriate loader):
- csv
- xlsx
- npy
- npy.npz (compressed numpy)
- json
- netcdf (a very useful format when dealing with climate data)
- tex
- txt
- tif
- gpkg
- shp