Question: Question 2 (3 points) Which of the following Python lines calculates the mean of two variables called Exam1 and Exam2 from a CSV file called
Question 2 (3 points)

Which of the following Python lines calculates the mean of two variables called Exam1 and Exam2 from a CSV file called ExamScores that contains four variables: Exam1, Exam2, Exam3, and Exam4?
Question 2 options:
| | | a) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(scores[['Exam1', 'Exam2']].mean()) | |
| | | b) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(scores[['Exam1', 'Exam2']].median()) | |
| | | c) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(mean[['Exam1', 'Exam2']]) | |
| | | d) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(scores('Exam1', 'Exam2').mean()) | |
Question 3 (3 points)

Which of the following Python lines calculates the mode of variables Exam1 from a CSV file called ExamScores that contains four variables: Exam1, Exam2, Exam3, and Exam4?
Question 3 options:
| | | a) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(scores[['Exam1']].mode()) | |
| | | b) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(scores[['Exam4']].mode()) | |
| | | c) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(ExamScores[['Exam1']].mode()) | |
| | | d) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(scores[['Exam1']].mean()) | |
Question 4 (3 points)

Which of the following Python lines reads a CSV file called ExamScores into a data frame called scores?
Question 4 options:
| | | a) | import pandas as pandas scores = pd.read_csv('ExamScores.csv') | |
| | | b) | scores = pd.read_csv('ExamScores.csv') | |
| | | c) | import pandas as pd ExamScores = pd.read_csv('scores.csv') | |
| | | d) | import pandas as pd scores = pd.read_csv('ExamScores.csv') | |
Question 5 (3 points)
![2 options: a) import pandas as pd scores = pd.read_csv('ExamScores.csv') print(scores[['Exam1', 'Exam2']].mean())](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f522d95e181_27366f522d953ed0.jpg)
Which of the following Python lines calculates the variance of variables Exam1 and Exam4 from a CSV file called ExamScores that contains four variables: Exam1, Exam2, Exam3, and Exam4?
Question 5 options:
| | | a) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(scores[['Exam1','Exam4']].var()) | |
| | | b) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(var[['Exam1','Exam4']]) | |
| | | c) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(var[[scores]]) | |
| | | d) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(var[['Exam1','Exam4']].scores()) | |
Question 6 (3 points)
![b) import pandas as pd scores = pd.read_csv('ExamScores.csv') print(scores[['Exam1', 'Exam2']].median()) c) import](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f522d995932_27366f522d98cbe1.jpg)
Which of the following Python lines prints the 25th, 50th, and 75th percentiles of all variables from a CSV file called ExamScores that contains four variables; Exam1, Exam2, Exam3, and Exam4?
Question 6 options:
| | | a) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(scores[['Exam1','Exam4']].describe()) | |
| | | b) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(scores.describe()) | |
| | | c) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(describe.scores()) | |
| | | d) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(scores.percentiles()) | |
Question 8 (3 points)
![pandas as pd scores = pd.read_csv('ExamScores.csv') print(mean[['Exam1', 'Exam2']]) d) import pandas as](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f522d9dc7e1_27366f522d9cfc79.jpg)
Which of the following Python lines calculates the standard deviation of variables Exam1 and Exam4 from a CSV file called ExamScores that contains four variables: Exam1, Exam2, Exam3, and Exam4?
Question 8 options:
| | | a) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(std[['Exam1','Exam4']]) | |
| | | b) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(scores[['Exam1','Exam4']].std()) | |
| | | c) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(std[['Exam1','Exam4']].scores()) | |
| | | d) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(scores[['Exam1']].std()) | |
Question 9 (3 points)

Which of the following Python lines calculates the median of all variables from a CSV file called ExamScores that contains four variables: Exam1, Exam2, Exam3, and Exam4?
Question 9 options:
| | | a) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(ExamScores.median()) | |
| | | b) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(scores.median()) | |
| | | c) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(scores.mean()) | |
| | | d) | import pandas as pd scores = pd.read_csv('ExamScores.csv') print(scores[['Exam1', 'Exam2']].median()) | |
#2 is selected by accident i need answers for all this. Please help.