smart_data_hub.property2dataframe
Functions
|
Preserve the original type of the value. |
|
Load rock properties from YAML files to a DataFrame. |
|
load site properties from YAML files to a DataFrame. |
Combine rock properties and site properties into a single DataFrame. |
Module Contents
- smart_data_hub.property2dataframe.preserve_value_type(value)[source]
Preserve the original type of the value.
- smart_data_hub.property2dataframe.load_rock_property(yaml_rock_property_paths)[source]
Load rock properties from YAML files to a DataFrame.
- Parameters:
yaml_rock_property_paths (list) – a list of paths to YAML files containing rock properties.
- Returns:
a DataFrame containing the loaded rock properties.
- Return type:
pd.DataFrame
- smart_data_hub.property2dataframe.load_site_property(site_files_path)[source]
load site properties from YAML files to a DataFrame.
- Parameters:
site_files_path (list) – a list of paths to YAML files containing site properties.
- Returns:
a DataFrame containing the loaded site properties.
- Return type:
pd.DataFrame