Data Analysis with Python
- 106Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
106 questions
- 1Data analysis is the process of inspecting, cleansing, transforming, and modeling data to discover useful information, form conclusions, and support_____.
Hint
Think about the practical choices that findings can inform.
Answer
decision making
- 2The first part of data analysis commonly involves gathering data, cleaning it, and_____it for further analysis.
Hint
This step changes data into a form suitable for later work.
Answer
transforming
- 3In the tutorialās terminology, modeling data means adapting real-life scenarios to information systems, often using_____statistics.
Hint
This kind of statistics helps assess patterns or models in data.
Answer
inferential
- 4The main purpose of turning data into information is to uncover meaningful patterns or_____.
Hint
These are unusual findings that may merit investigation.
Answer
anomalies
- 5An example of information drawn from purchase data is the finding that Pop-Tarts sell better on_____.
Hint
The example identifies one day of the week as having stronger sales.
Answer
Tuesdays
- 6A data analysis project should provide evidence of findings and communicate them through readable reports or_____.
Hint
These visual summaries can present information for different audiences.
Answer
dashboards
- 7Different groups, such as marketing, sales, and accounting, may need different reports or different levels of_____from the same analysis.
Hint
Some audiences need a broad summary, while others need more specifics.
Answer
detail
- 8The tutorial groups ready-to-use commercial products such as Excel and Tableau as_____tools.
Hint
These are products that can be purchased and used out of the box.
Answer
managed
- 9The tutorial calls programming languages and open-source libraries such as Python and R_____tools.
Hint
These tools are not sold as a single vendorās packaged product.
Answer
open
- 10A key limitation of closed products such as Excel or Tableau is that their scope is_____.
Hint
Unlike a general-purpose programming language, a closed product has boundaries set by its features.
Answer
limited
- 11Compared with a packaged analysis tool, Python and its data tools provide greater_____to handle varied tasks.
Hint
This advantage lets a programmer adapt the approach to different data sources and requirements.
Answer
flexibility
- 12The main learning disadvantage of programming languages compared with point-and-click tools is that learners must first learn the basics of_____.
Hint
This skill takes time to develop before using the language effectively.
Answer
coding
- 13The tutorial favors Python partly because it is simple, intuitive, readable, free, and_____source.
Hint
This describes software whose source can be used and developed openly.
Answer
open
- 14Pythonās large ecosystem includes thousands of_____for many different tasks.
Hint
These reusable packages extend what the language can do.
Answer
libraries
- 15The tutorial notes that major institutions rely on Python, which helps make the language less likely to_____away.
Hint
The phrase describes a technology disappearing from use.
Answer
go
- 16The tutorial prefers Python over R for getting started partly because Python is easier to learn and more_____in its libraries and tools.
Hint
The contrast is with a language especially strong in statistical functions.
Answer
general
- 17R may be especially worth exploring for people in highly technical disciplines because it has a large library of_____functions.
Hint
These functions support analysis of data and statistical relationships.
Answer
statistical
- 18The two especially important visualization libraries highlighted for the Python data stack are matplotlib and_____.
Hint
The second name is written this way in the tutorial and is commonly known as Seaborn.
Answer
Seabourn
- 19The tutorial identifies_____as the main Python library for data analysis.
Hint
It helps read, manipulate, and analyze tabular data.
Answer
pandas
- 20The tutorial describes NumPy as a library for numeric processing and calculations with_____.
Hint
Its focus is numerical rather than general-purpose text handling.
Answer
numbers
- 21The tutorial says a data analyst who learns Python and SQL may be better paid than one who does not know these_____tools.
Hint
These tools let analysts work with data through code and queries.
Answer
programming
- 22Python is useful for transferring data analysis processes between computers or to the cloud with little_____.
Hint
This refers to extra effort or cost involved in moving a process.
Answer
overhead
- 23The data analysis process begins by identifying where data comes from and then_____it from sources such as databases, files, or web APIs.
Hint
This is the step of obtaining data before cleaning it.
Answer
collecting
- 24After collection, analysts clean data; data obtained through web scraping may require a more_____cleaning process than data from a well-maintained database.
Hint
The word describes work that is more laborious and time-consuming.
Answer
tedious
- 25Once data is clean, analysts rearrange and reshape it, for example by transforming fields or_____tables.
Hint
This operation combines related tabular data.
Answer
merging
- 26The purpose of reshaping and rearranging data is to make it ready for the next step, the process of_____.
Hint
This is where patterns are extracted from prepared data.
Answer
analysis
- 27Statistical analysis is fundamental when searching prepared data for patterns, trends, and_____.
Hint
These are deviations or unusual observations in the data.
Answer
anomalies
- 28In a data science project, the analysis process may lead to implementing_____models.
Hint
These models learn patterns from data to make predictions or decisions.
Answer
machine learning
- 29When focusing strictly on data analysis, the results are commonly communicated through reports to support_____making.
Hint
Analysis is intended to help people choose a course of action.
Answer
decision
- 30In practice, data analysis is better represented as a cycle than as a straight line because analysts often move_____between steps.
Hint
The process may revisit earlier stages instead of proceeding only once in order.
Answer
back and forth
- 31Compared with analysts, data scientists are described as usually having stronger programming and_____skills.
Hint
These quantitative skills support machine learning and technical processes.
Answer
math
- 32Data analysts are described as having particular strengths in communication, report writing, and_____abilities.
Hint
This skill helps communicate what findings mean to an audience.
Answer
storytelling
- 33For small data sets, point-and-click tools provide a constant visual reference, but this approach becomes less useful as the number of_____grows.
Hint
A data set becomes difficult to inspect visually when it contains too many rows.
Answer
records
- 34Python users work with a mental understanding of a data setās shape and statistical properties rather than constantly_____at every row.
Hint
The contrast is with visually scanning a spreadsheet.
Answer
looking
- 35A Jupyter Notebook is an interactive, real-time environment for exploring data and performing data_____.
Hint
It lets users issue commands and see results immediately.
Answer
analysis
- 36A Jupyter Notebook is made up of a sequence of_____.
Hint
Each unit can contain code or formatted text.
Answer
cells
- 37A notebook cell can contain executable code or_____text.
Hint
This lightweight format supports headings, links, and other document formatting.
Answer
markdown
- 38Markdown in a notebook can format a report that can later be exported as a PDF or an_____page.
Hint
This is the standard format used to display structured content on the web.
Answer
HTML
- 39JupyterLab is described as an evolution of the notebook interface that adds features such as a file tree view and_____tools.
Hint
These tools help manage changes to files and code.
Answer
Git
- 40Jupyter is a free and_____source ecosystem of tools.
Hint
This means people can use and develop the project openly.
Answer
open
- 41Notebook cells display execution numbers so users can tell the order in which code was_____.
Hint
The numbering preserves execution history even if cells are moved.
Answer
executed
- 42In notebook command mode, pressing A creates a new cell_____the selected cell.
Hint
The shortcut places the new cell before the current one.
Answer
above
- 43In notebook command mode, pressing B creates a new cell_____the selected cell.
Hint
The shortcut places the new cell after the current one.
Answer
below
- 44In notebook command mode, the shortcut for deleting a cell is pressing D_____.
Hint
The deletion shortcut uses a repeated key press.
Answer
twice
- 45The two main Jupyter Notebook modes are command mode and_____mode.
Hint
In this mode, typed characters are added to the cellās content.
Answer
edit
- 46Pressing Escape switches a notebook cell from edit mode to_____mode.
Hint
This mode interprets keys as notebook commands rather than text.
Answer
command
- 47Pressing Enter while a cell is selected in command mode switches it into_____mode.
Hint
This mode lets the user modify the cellās contents.
Answer
edit
- 48Pressing M in notebook command mode changes the cell type to_____.
Hint
This cell type is used for formatted text rather than executable Python.
Answer
Markdown
- 49Pressing Y in notebook command mode changes the cell type to_____code.
Hint
This is the language used for code in the tutorialās notebook.
Answer
Python
- 50To execute a cell and keep it selected, use Ctrl plus_____.
Hint
This key is also used to enter edit mode.
Answer
Return
- 51To execute a cell and move the selection to the next cell, use Shift plus_____.
Hint
This key combination is useful for running cells in sequence.
Answer
Return
- 52A NumPy array stores its elements in a consistent data type, which allows NumPy to use memory and computation more_____.
Hint
Uniform element types support optimized numerical operations.
Answer
efficiently
- 53Unlike a regular Python list, a NumPy array can store its elements in_____positions in memory.
Hint
The elements are placed next to one another rather than scattered.
Answer
contiguous
- 54The number of decimal values representable with n bits is 2n; this follows from the fact that each bit can be either zero or_____.
Hint
Binary uses two possible symbols for each bit.
Answer
one
- 55A data type such as NumPyās integer type lets an analyst control how many bits are used to store an_____.
Hint
Choosing a smaller or larger numeric type changes its storage size.
Answer
integer
- 56NumPy arrays are accessed using zero-based indexing, so the first element is at position_____.
Hint
This is the same indexing convention used by Python lists.
Answer
zero
- 57NumPy supports selecting several specified positions at once through_____indexing.
Hint
This allows a selection such as the first, third, and last elements.
Answer
multi
- 58A NumPy arrayās_____
shapereports the sizes of its.Hint
For a matrix, it reports the number of rows and columns.
Answer
dimensions
- 59A NumPy arrayās_____
ndimattribute reports its number of.Hint
A vector has one, a matrix has two, and a cube has three.
Answer
dimensions
- 60A NumPy arrayās_____
sizeattribute gives its total number of.Hint
For example, a matrix with two rows and three columns has six.
Answer
elements
- 61In a two-dimensional NumPy array, an index such as_____
[row, column]selects an element by specifying its.Hint
Each coordinate refers to a separate direction in the array.
Answer
dimensions
- 62NumPy vectorized operations apply an operation such as adding a scalar to_____element of an array.
Hint
The operation is expressed once but applies throughout the array.
Answer
each
- 63By default, most NumPy arithmetic operations leave the original array unchanged and return a_____array.
Hint
This behavior is described as immutable.
Answer
new
- 64A Boolean array can be used to filter NumPy data by marking desired elements as_____
Trueand unwanted elements as.Hint
This value tells the selection to exclude an element.
Answer
False
- 65When NumPy compares each array element with a condition, such as whether it is greater than a threshold, the result is a_____array.
Hint
Each result indicates whether one element meets the condition.
Answer
Boolean
- 66Pandas has two main data structures: the Series and the_____.
Hint
This structure resembles a spreadsheet with rows and columns.
Answer
data frame
- 67A pandas Series is an ordered sequence of elements backed by a NumPy_____.
Hint
This underlying structure supports efficient numeric processing.
Answer
array
- 68Unlike a plain Python list, a pandas Series can associate each value with a named or labeled_____.
Hint
This lets users retrieve a value by a meaningful label rather than only by position.
Answer
index
- 69A pandas Series combines ordered sequence behavior with label-based lookup, somewhat like a list and a_____.
Hint
This other structure retrieves values using keys.
Answer
dictionary
- 70In pandas,_____
.locselects data using index.Hint
For example, it can retrieve a row whose index is a country name.
Answer
labels
- 71In pandas,_____
.ilocselects data using integer.Hint
It can retrieve the first or last row regardless of its label.
Answer
positions
- 72In label-based pandas slicing with_____
.loc, the upper endpoint of a slice is.Hint
This differs from the usual upper-bound behavior of Python slicing.
Answer
included
- 73A pandas data frame can be understood as a collection of Series, typically one for each_____.
Hint
Each vertical set of values has its own name and data type.
Answer
column
- 74The pandas_____
infomethod summarizes a data frameās columns, types, and counts of non-null.Hint
This information helps reveal missing data.
Answer
values
- 75The pandas_____
describemethod provides summary statistics forcolumns.Hint
Its output can include mean, standard deviation, minimum, and maximum.
Answer
numeric
- 76In a pandas data frame, using the data frame name followed by a column label selects that_____.
Hint
This is different from using
.locor.ilocto select rows.Answer
column
- 77Pandas aligns Series and data frame values by their matching_____when performing operations.
Hint
This matching lets separately structured data combine correctly.
Answer
labels
- 78When assigning a Series to a data frame column, pandas matches values by index and fills unmatched positions with a missing-value marker such as_____.
Hint
This marker represents a value that is not available.
Answer
NaN
- 79A pandas operation that returns a changed data frame usually leaves the original unchanged unless the result is assigned back, because the operation is_____.
Hint
The returned result is separate from the original object.
Answer
immutable
- 80Pandas uses_____
isnaorisnullto identifyvalues.Hint
These methods return True where a value is absent.
Answer
missing
- 81Pandas uses_____
notnaornotnullto identify values that are.Hint
These methods return True when a value is present.
Answer
not missing
- 82The_____
dropnamethod removes missing data; by default on a data frame, it drops rows with at least one missing.Hint
One absent entry is enough to remove the entire row under the default behavior.
Answer
value
- 83The_____
fillnamethod can replace missing values with a chosen value, such as zero, or a statistic such as the.Hint
This measure is the arithmetic average of the observed values.
Answer
mean
- 84Forward filling replaces a missing value with the previous valid value as data is traversed_____.
Hint
The replacement value flows from earlier observations toward later ones.
Answer
forward
- 85Backward filling replaces a missing value using the next valid value as data is traversed_____.
Hint
The replacement value flows from later observations toward earlier ones.
Answer
backward
- 86In a data frame, the_____
axissetting fordropnaor filling determines whether the operation proceeds by rows or.Hint
Changing the axis changes the direction in which values are examined or filled.
Answer
columns
- 87The pandas_____
replacemethod can correct invalid categorical entries by mapping them to the intended.Hint
For example, inconsistent codes can be standardized to valid categories.
Answer
values
- 88A value may be technically valid as a number but invalid for the dataās_____; for example, an age of 170 is implausible for a human customer.
Hint
This means the real-world subject area and its constraints.
Answer
domain
- 89The_____
duplicatedmethod can mark repeated records, while itskeepsetting determines which occurrence is treated as the.Hint
The first, last, or all repeated occurrences can be handled differently.
Answer
duplicate
- 90The_____
subsetoption in duplicate handling specifies which columns are used to decide whether rows count as.Hint
Two rows may match on selected fields while differing on others.
Answer
duplicates
- 91Pandas string operations are accessed through the Series_____
.str.Hint
This prefix provides methods such as splitting, replacing, and checking for substrings.
Answer
attribute
- 92Because HTML tables may be formatted for people rather than machines, parsing them can require additional data_____.
Hint
Repeated headers or merged cells may need to be corrected after import.
Answer
cleaning
- 93Pandasā plotting methods commonly use the matplotlib library to create_____.
Hint
These include plots such as histograms and line charts.
Answer
visualizations
- 94A matplotlib scatter plot can encode additional variables using features such as marker size and_____.
Hint
This visual property can represent a third or fourth data dimension.
Answer
color
- 95In the tutorialās Python overview, Python 2 is described as deprecated in 2020, so new learners should use Python_____.
Hint
This is the current major version recommended in the tutorial.
Answer
3
- 96Python uses_____to define blocks of code instead of relying on curly braces.
Hint
Statements in the same block are aligned at the same level.
Answer
indentation
- 97A Python function definition begins with the keyword_____
def, followed by the function name and its.Hint
These are the inputs listed inside the parentheses.
Answer
parameters
- 98In Python, a function that reaches its end without an explicit return statement returns_____by default.
Hint
This built-in value represents the absence of a returned value.
Answer
None
- 99Python is dynamically typed, but it is also described in the tutorial as strongly_____.
Hint
The language still enforces distinctions between incompatible kinds of values.
Answer
typed
- 100Python strings in Python 3 support_____text by default.
Hint
This standard accommodates characters from many writing systems.
Answer
Unicode
- 101A Python list is an ordered collection that can contain values of different_____.
Hint
For example, one list could contain text, numbers, and Boolean values.
Answer
types
- 102A tuple resembles a list but is_____after it has been created.
Hint
Its elements cannot be added, removed, or changed in place.
Answer
immutable
- 103A Python dictionary maps_____to values, allowing lookup by meaningful names.
Hint
These identifiers are used to retrieve associated values.
Answer
keys
- 104A Python set keeps only_____values, making it useful for membership checks.
Hint
Repeated entries are not retained as separate elements.
Answer
unique
- 105A Python_____
forloop commonly iterates directly over the elements of a.Hint
Examples include lists, dictionaries, and sets.
Answer
collection
- 106Python handles errors using exceptions, which can be managed with a_____
tryandblock.Hint
This block runs when an error occurs in the protected code.
Answer
except

Ask anything
We've read this whole study set, so questions about it get the best answers.