python for data science study guide questions and answers already graded A+
What is true about data science? a model generated that leads to insights and can be improved management of data seeing how everything is connected example of insight turned into action? Marketing a new product based on past sales information Brainpower Read More Previous Play Next Rewind 10 seconds Move forward 10 seconds Unmute 0:00 / 0:15 Full screen Data science only generates actionable information for the future. false What is the function Kmeans (from sklearn) used for in Python in the example soccer data analysis overview? Clustering Which of the following is NOT a step in the formal data science process? Collaborate What are the ingredients to form a data science problem define what it is you're trying to tackle assess the situation with respect to the problem define your goals and objectives Data science is an iterative process. true Which should you do first after you put together data needed for application? Explore the data you put together What graph is best to show values in your data change over time? line graph Raw data from sources can always be directly used to perform analysis. false What is NOT important in collecting data? how the data was presented What are ways to manipulate the cleaned data into the format needed for analysis? Scaling Transformation Feature selection Dimensionality reduction Data manipulation For which of the following scenarios would you use the analysis technique of classification? predicting the weather Which analysis technique has the goal of finding a set of rules to capture associations between items or events? association analysis Once you have devised an action based on an insight, there is no need to continue collecting data. false What will be printed by the following code snippet? x = [1, 2, 3] y = x x[1] = 42 print (y) [1, 42, 3] Assuming the list below: mylist = [6, 8, 12, 13] What is the output from the following code snippet? mylist[3] % mylist[1] 5 Assuming the code below: tup1 = ('physics', 'chemistry', 1997, 2000, 2001, 1999) What is the result of: tup1[2] 1997 While lists access values using an index, dictionaries access values using a(n) _____. key Assuming the tuple below: tup1 = ('physics', 'chemistry', 1997, 2000, 2001, 1999) What will be the following result of: tup1[2]=1998 print(tup1) TypeError: 'tuple' object does not support item assignment Assuming the tuple below: tup1 = ('physics', 'chemistry', 1997, 2000, 2001, 1999) What will be the following result of tup1[1:4]. ('chemistry', 1997, 2000) True or False: In Python, you cannot insert duplicates in sets. true When working with cells in Jupyter, what does "_" refer to? The output of the last cell executed. Code in the Jupyter code cells are restricted to being one line. False Using markdown cells in Jupyter, how do you format text as bold? *word* What are the 3 reasons that data scientists working in Python use numpy all the time? Its speed. Its functionality. Many packages rely on numpy. Elements in numpy arrays must be all the same type. True ndarrays are mutable. True Look at the following code: b = ([1,2,3]) b[1] = 'one' What error prints out after you run these two lines of code? ValueError
Written for
- Institution
- Python for data science
- Course
- Python for data science
Document information
- Uploaded on
- February 17, 2024
- Number of pages
- 15
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
python for data science study guide questions