tegge-classroom / STAT2984-2018

STAT 2984: Statistical Programming I - Spring 2018
1 stars 13 forks source link

HW 4: Question 3 #31

Open nanaa9 opened 6 years ago

nanaa9 commented 6 years ago

For the summary data function, which columns are we summarizing?

ategge commented 6 years ago

The columns to be summarized in the function are passed via the "columns" optional argument. In the example provided, that includes 'Year','Max.Wind.Speed(kts)','Central.Pressure(mb)','Category'

cahicks commented 6 years ago

How exactly do we summarize the data? Is there any example code I could look at?

maxh95 commented 6 years ago

Summarize with mean max min and standard deviation. Numpy can easily calculate mean and std. Min and max are built in functions but there are other ways of finding them too. For example: np.mean(data)

to find the mean.