Max, min, mean, median
Pyyhkäise näyttääksesi valikon




To find the max of the total df use:
df.max()
To find the max of the column, use:
df['column_name'].max()
# or
df.column_name.max()
The same code is used to find the min, mean, and median.
Pay attention! If there are 2 elements in the middle of the array, the the median will be counted in the following way: (a+b)/2 where a and b are central elements.
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 3. Luku 5
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Osio 3. Luku 5