flasc.data_processing.dataframe_manipulations.get_column_mean#
- flasc.data_processing.dataframe_manipulations.get_column_mean(df, col_prefix='pow', turbine_list=None, circular_mean=False)[source]#
Get the mean of a column for a list of turbines.
- Parameters:
df (pd.Dataframe) -- Dataframe with measurements.
col_prefix (str, optional) -- Column prefix to use. Defaults to "pow".
turbine_list ([list, array], optional) -- List of turbine numbers to use. If None, all turbines are used. Defaults to None.
circular_mean (bool, optional) -- Use circular mean. Defaults to False.
- Returns:
Mean of the column for the specified turbines.
- Return type:
np.array