smart_data_hub.add_default
Functions
|
Load default rock property DataFrame for the given lithologies. |
|
Get the matching default DataFrame for the given lithologies and missing properties. |
|
Find missing properties in the property DataFrame. |
|
Add default properties to the property DataFrame. |
Module Contents
- smart_data_hub.add_default.load_default_df(lithologies)[source]
Load default rock property DataFrame for the given lithologies.
- Parameters:
lithologies (list) – list of lithologies.
- Returns:
Default rock property DataFrame.
- Return type:
pd.DataFrame
- smart_data_hub.add_default.get_matching_default_df(lithologies, missing_prop_names)[source]
Get the matching default DataFrame for the given lithologies and missing properties.
- smart_data_hub.add_default.find_missing_properties(property_df)[source]
Find missing properties in the property DataFrame.
- Parameters:
property_df (pd.DataFrame) – DataFrame containing the properties to check
- Returns:
List of missing property names.
- Return type:
- smart_data_hub.add_default.add_default_df(property_df, lithologies)[source]
Add default properties to the property DataFrame.
- Parameters:
property_df (pd.DataFrame) – DataFrame containing the properties to check
lithologies (list) – list of lithologies to look for default properties
- Returns:
DataFrame with default properties added
- Return type:
pd.DataFrame