For the following data frame in Julia, containing noon temperatures (in degree Celsius) for 4 cities on 6 consecutive days, I want to find the arithmetic mean, minimum and maximum temperature of each city.
using DataFrames
city_temperature = DataFrame(City_1 = [27, 27, 29, 26, 24, 21],
City_2 = [30, 31, 29, 30, 33, 30],
City_3 = [25, 26, 25, 28, 27, 28],
City_4 = [28, 29, 32, 34, 33, 35]);
city_temperature
6×4 DataFrame
│ Row │ City_1 │ City_2 │ City_3 │ City_4 │
│ │ Int64 │ Int64 │ Int64 │ Int64 │
├─────┼────────┼────────┼────────┼────────┤
│ 1 │ 27 │ 30 │ 25 │ 28 │
│ 2 │ 27 │ 31 │ 26 │ 29 │
│ 3 │ 29 │ 29 │ 25 │ 32 │
│ 4 │ 26 │ 30 │ 28 │ 34 │
│ 5 │ 24 │ 33 │ 27 │ 33 │
│ 6 │ 21 │ 30 │ 28 │ 35 │