brightwind.analyse.analyse.basic_stats

brightwind.analyse.analyse.basic_stats(data)

Gives basic statistical measures of the data, the DataFrame returned includes the following columns

  • count, number of data points available for each column of the data

  • mean, mean of each column of data

  • std, standard deviation of each column of data

  • min, minimum value of each column of data

  • max, maximum value of each column of data

Parameters

data (pandas.Series or pandas.DataFrame) – It can be a DataFrame containing meteorological data or a series of some variable like wind speed, direction, temperature, etc.

Return type

A DataFrame with columns count, mean, std, min amd max.

Example usage

import brightwind as bw
data = bw.load_campbell_scientific(bw.datasets.demo_campbell_scientific_site_data)
bw.basic_stats(data)
bw.basic_stats(data['Gust_Max_1'])