smart_data_hub.recommended_CV

Functions

value_best_mask(input_pd_df)

Filter data in the input DataFrame that contains the best estimate value.

value_range_mask(input_pd_df)

Filter data in the input DataFrame that is given by a range.

property_CV()

Calculate the coefficient of variation (CV) for each property.

Module Contents

smart_data_hub.recommended_CV.value_best_mask(input_pd_df)[source]

Filter data in the input DataFrame that contains the best estimate value.

Parameters:

input_pd_df (pd.DataFrame) – Input DataFrame.

Returns:

A Boolean series indicating which data contains the best estimate value.

Return type:

pd.Series

smart_data_hub.recommended_CV.value_range_mask(input_pd_df)[source]

Filter data in the input DataFrame that is given by a range.

Parameters:

input_pd_df (pd.DataFrame) – Input DataFrame.

Returns:

A Boolean series indicating which data is given by a range.

Return type:

pd.Series

smart_data_hub.recommended_CV.property_CV()[source]

Calculate the coefficient of variation (CV) for each property.

Returns:

A dictionary containing the CV for each property.

Return type:

dict