flasc.data_processing.dataframe_manipulations.get_column_mean#
- flasc.data_processing.dataframe_manipulations.get_column_mean(df: DataFrame | FlascDataFrame, col_prefix: str = 'pow', turbine_list: List[int] | ndarray | None = None, circular_mean: bool = False) ndarray [source]#
Get the mean of a column for a list of turbines.
- Parameters:
df (pd.Dataframe | FlascDataFrame) -- 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