PYTHON DATA ANALYSIS EXAM
Quiz Summary
0 of 40 Questions completed
Questions:
Information
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
Results
Results
0 of 40 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 40
1. Question
Question 1
Comments in Python refer to a piece of text intended for information. Comments can be added in python with ____________________?
CorrectIncorrect -
Question 2 of 40
2. Question
Question 2
Two common ways of accessing the elements of a series are ____ and ______
CorrectIncorrect -
Question 3 of 40
3. Question
Question 3
Python data types include the following except __________________?
CorrectIncorrect -
Question 4 of 40
4. Question
Question 4
What will be the output of print(df.loc[:])?CorrectIncorrect -
Question 5 of 40
5. Question
Question 5
To count the total number of rows of data in a data frame, which command can be used?
CorrectIncorrect -
Question 6 of 40
6. Question
Question 6
Which of the following is used to fill missing values in a dataframe?
CorrectIncorrect -
Question 7 of 40
7. Question
Question 7
In Python language, a square bracket [] is used to signify a ___________________
CorrectIncorrect -
Question 8 of 40
8. Question
Question 8
Python is a versatile language that can be used for the following except _______________?
CorrectIncorrect -
Question 9 of 40
9. Question
Question 9
Ben works in an IT company where his boss asked him to prepare a chart in Python. However, Ben is confused as to what library is suitable for visualization. Help him decide
CorrectIncorrect -
Question 10 of 40
10. Question
Question 10
All the UPPERCASE in a string can be converted into lowercase by using which method?
CorrectIncorrect -
Question 11 of 40
11. Question
Question 11
Given a List1 is [3, 5, 25, 1, 3]. What is min(list1)?
CorrectIncorrect -
Question 12 of 40
12. Question
Question 12
Write statement to transpose dataframe DF.
CorrectIncorrect -
Question 13 of 40
13. Question
Question 13
Which of the following is correct for naming variables in Python language?
CorrectIncorrect -
Question 14 of 40
14. Question
Question 14
Given a string EXAMPLE = “HELLO”, What is the output of EXAMPLE.COUNT(“L”)?
CorrectIncorrect -
Question 15 of 40
15. Question
Question 15
The curly bracket {} is used in python language to signify what data type?
CorrectIncorrect -
Question 16 of 40
16. Question
Question 16
Which command is used to add an element to add an element to a list?
CorrectIncorrect -
Question 17 of 40
17. Question
Question 17
Which of the following signifies a missing data in a pandas DataFrame?
CorrectIncorrect -
Question 18 of 40
18. Question
Question 18
df.head() will display ___________________?
CorrectIncorrect -
Question 19 of 40
19. Question
Question 19
For a data frame df[:] = 0 will
CorrectIncorrect -
Question 20 of 40
20. Question
Question 20
Martha was given the following command to delete a column ‘pub’ from ‘book’ dataframe. book.drop(‘pub’), but she is not getting the desired output, help her to select correct statement.
CorrectIncorrect -
Question 21 of 40
21. Question
Question 21
A column is a _________ representation of data.
CorrectIncorrect -
Question 22 of 40
22. Question
Question 22
Choose whether the following statement is True or False: A data frame is an unstructured representation of data
CorrectIncorrect -
Question 23 of 40
23. Question
Question 23
Which one of these skills is not required to become a Data Scientist?
CorrectIncorrect -
Question 24 of 40
24. Question
Question 24
Which of the following object you get after reading CSV file?
CorrectIncorrect -
Question 25 of 40
25. Question
Question 25
Which of the following is a visualization library in Python language?
CorrectIncorrect -
Question 26 of 40
26. Question
Question 26
Which of the following process involves structuring datasets to facilitate analysis?
CorrectIncorrect -
Question 27 of 40
27. Question
Question 27
Which of the following is used to extract data from HTML code of websites?
CorrectIncorrect -
Question 28 of 40
28. Question
Question 28
Which of the following function gives information about top level data?
CorrectIncorrect -
Question 29 of 40
29. Question
Question 29
What is a correct syntax to create a Pandas DataFrame?
CorrectIncorrect -
Question 30 of 40
30. Question
Question 30
What is a correct syntax to return both the first row and the second row in a Pandas DataFrame?
CorrectIncorrect -
Question 31 of 40
31. Question
Question 31
What is a correct syntax to return both the first row and the second row in a Pandas DataFrame?
CorrectIncorrect -
Question 32 of 40
32. Question
Question 32
For the Pandas tail() method, how many rows are returned by default, if you do not specify it?
CorrectIncorrect -
Question 33 of 40
33. Question
Question 33
What is a correct Pandas method for removing rows that contains empty cells?
CorrectIncorrect -
Question 34 of 40
34. Question
Question 34
What is a correct method to fill empty cells with a new value?
CorrectIncorrect -
Question 35 of 40
35. Question
Question 35
When using the Pandas dropna() method, what argument allows you to change the original DataFrame instead of returning a new one?
CorrectIncorrect -
Question 36 of 40
36. Question
Question 36
What is a correct method to remove duplicates from a Pandas DataFrame?
CorrectIncorrect -
Question 37 of 40
37. Question
Question 37
Which of the following libraries allows to manipulate, transform and visualize data easily and efficiently?
CorrectIncorrect -
Question 38 of 40
38. Question
Question 38
A Series by default habve numeric data labelsstarting from _______________
CorrectIncorrect -
Question 39 of 40
39. Question
Question 39
_________ Function is used to sort a series object on the basis of values
CorrectIncorrect -
Question 40 of 40
40. Question
Question 40
Jack works in an IT firm as a Data Manager. He stored the salary of all employeed in a Series called “SalarySTf”. His boss asked him to filter the employees whose salary is more than 20000. Help him to find the correct code.
CorrectIncorrect