6 1. What is the function for calculating sum of a list? |
6 1. What is the function for calculating sum of a list? |
7 |
7 |
8 sum |
8 sum |
9 |
9 |
10 2. Calcutate the mean of the given list? |
10 2. Calcutate the mean of the given list? |
11 |
|
12 student_marks=[74,78,56,87,91,82] |
11 student_marks=[74,78,56,87,91,82] |
13 |
12 |
14 mean(student_marks) |
13 mean(student_marks) |
15 |
14 |
16 |
15 |
17 3. Given a two dimensional list,:: |
16 3. Given a two dimensional list, |
18 two_dimensional_list=[[3,5,8,2,1],[4,3,6,2,1]] |
17 two_dimensional_list=[[3,5,8,2,1],[4,3,6,2,1]] |
19 |
|
20 how do we calculate the mean of each row? |
18 how do we calculate the mean of each row? |
21 |
19 |
22 |
20 |
23 mean(two_dimensinal_list,1) |
21 mean(two_dimensinal_list,1) |
24 |
22 |
25 4. What is the function for calculating standard deviation of a list? |
23 4. What is the function for calculating standard deviation of a list? |
26 |
24 |
27 std |
25 std |
28 |
26 |
29 5. Calcutate the median of the given list? |
27 5. Calcutate the median of the given list? |
30 |
|
31 student_marks=[74,78,56,87,91,82] |
28 student_marks=[74,78,56,87,91,82] |
32 |
29 |
33 median(age_list) |
30 median(age_list) |
34 |
31 |
35 6. How do you calculate median along the columns of two dimensional array? |
32 6. How do you calculate median along the columns of two dimensional array? |
48 Larger Questions |
45 Larger Questions |
49 ---------------- |
46 ---------------- |
50 |
47 |
51 .. A minimum of 2 questions here (along with answers) |
48 .. A minimum of 2 questions here (along with answers) |
52 |
49 |
53 1. Question 1 |
50 1. Get the weighted mean of [74,64,86,76,83] where the weights are |
54 2. Question 2 |
51 [2,2,1,4,4] respectively. |
|
52 |
|
53 Hint: Readup on function average using average? |
|
54 |
|
55 2. Calculate the weighted standard deviation for the sequence [74,64,86,76,83], such that the weights are [2,2,1,4,4] . |
|
56 |