KnowledgeBoat Logo
|
LoginJOIN NOW

Informatics Practices

Write appropriate functions to perform the following on a DataFrame ?

(i) Calculate the sum

(ii) Count the values

(iii) Calculate the average

(iv) Calculate the most repeated value

(v) Calculate the median

(vi) Calculate the standard deviation

(vii) Calculate the variance

(viii) Calculate the maximum value

(ix) Calculate the standard deviation

(x) Calculate the variance

Python Pandas

3 Likes

Answer

(i) Calculate the sum — sum() function

(ii) Count the values — count() function

(iii) Calculate the average — mean() function

(iv) Calculate the most repeated value — mode() function

(v) Calculate the median — median() function

(vi) Calculate the standard deviation — std() function

(vii) Calculate the variance — var() function

(viii) Calculate the maximum value — max() function

(ix) Calculate the standard deviation — std() function

(x) Calculate the variance — var() function

Answered By

1 Like


Related Questions