Python for Data Analysis
- 134Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
134 questions
- 1The process of giving a computer instructions to perform actions is called_____.
Hint
Think of the process of telling a computer what actions to perform.
Answer
computer programming
Explanation
Computer programming is the process of giving instructions to a computer to perform an action or set of actions.
- 2A programmer may choose a particular programming language based on the_____they are working on.
Hint
Consider the task the programmer is trying to accomplish.
Answer
project or problem
Explanation
A programmer may choose a language based on the project or problem they need to address.
- 3Python can optimize every phase of the_____, from exploring data to building machine learning models.
Hint
Think of the stages a dataset moves through during analysis.
Answer
data workflow
Explanation
Python can support many stages of data work, from exploring and cleaning through visualization and machine learning.
- 4Because Python uses human-friendly syntax, it is classified as a_____.
Hint
This category of language uses syntax designed to be more approachable for people.
Answer
high-level language
Explanation
Python is high-level because it uses human-friendly syntax that is more familiar than machine-level instructions.
- 5Early languages that required substantial training and often worked only on a specific machine were known as_____.
Hint
These languages are closer to the computer's underlying operations than human language is.
Answer
low-level languages
Explanation
Early programming languages that were difficult to use and often specific to one machine are called low-level languages.
- 6The rules and structures that govern how code is written are called_____.
Hint
This is the programming-language equivalent of grammatical rules.
Answer
syntax
Explanation
Syntax refers to the rules and structures that govern how a programming language is written.
- 7Computers interpret instructions in_____, represented by ones and zeros.
Hint
This number system uses two symbols to represent on and off states.
Answer
binary
Explanation
Computers operate using binary, represented as ones and zeros corresponding to transistor states.
- 8The fundamental computer component that controls electrical flow through a circuit is a_____.
Hint
This fundamental computer component behaves like an electrical switch.
Answer
transistor
Explanation
A transistor controls the flow of electricity through a circuit and can be on or off.
- 9Python's_____nature has helped developers create many libraries and tools.
Hint
This describes software whose source code can be used and developed openly.
Answer
open source
Explanation
Python's open-source nature has encouraged developers to create many libraries and tools for it.
- 10A reusable collection of code that can provide functionality such as summing numbers is a_____.
Hint
This reusable code collection can provide functions for common tasks.
Answer
library
Explanation
A library is a reusable collection of code that can save programmers from writing common functionality themselves.
- 11Chaining many_____together allows computers to create complex logic.
Hint
These on/off components are the hardware foundation described in the content.
Answer
transistors
Explanation
A computer contains billions of transistors, which operate as switches and support complex logic when connected.
- 12The name Python was inspired by the British comedy troupe_____.
Hint
The language name refers to a British comedy troupe.
Answer
Monty Python
Explanation
Python's creator named the language after the British comedy troupe Monty Python, not after a snake.
- 13Python's widespread use has created a large and active_____willing to help users.
Hint
This group of users helps answer questions and share knowledge.
Answer
community
Explanation
Python's widespread use has produced a large, active user community that can provide support.
- 14Words and symbols used to write instructions for computers are called_____.
Hint
These are the formal systems people use to communicate instructions to computers.
Answer
programming languages
Explanation
Programming languages use words and symbols to write instructions for computers to follow.
- 15Simple processes can be combined to create_____that express complex logic.
Hint
These are organized instructions for solving problems or accomplishing tasks.
Answer
algorithms
Explanation
Individual lines of code can be combined into algorithms and programs that express complex logic.
- 16The Python building blocks that store and label data are called_____.
Hint
They act like labeled containers or names that point to stored values.
Answer
variables
Explanation
Variables are named references to values and help store and organize data.
- 17In the expression where a variable is assigned a number, the number stored by the variable is its_____.
Hint
This is the data a named reference points to or contains.
Answer
value
Explanation
A variable points to a value stored in computer memory; the variable itself is not the value.
- 18An attribute describing data based on its values or possible operations is its_____.
Hint
It classifies data such as strings, integers, and floats.
Answer
data type
Explanation
A data type describes data according to its values, programming-language representation, or supported operations.
- 19Python's ability to interpret assigned types automatically and let variables point to different data types is called_____.
Hint
This Python behavior lets a variable refer to values of different types over time.
Answer
dynamic typing
Explanation
Python's dynamic typing means variables can point to objects of any data type, with types interpreted automatically when assigned.
- 20Before calling most new variables, programmers need to_____them by assigning a value.
Hint
Give a new variable its starting value before using it.
Answer
initialize
Explanation
Most new variables have no default type or value, so they need to be assigned before they are called.
- 21To modify the contents of a variable, you generally need to_____the new value to it.
Hint
The operation replaces the variable's current reference with an updated one.
Answer
reassign
Explanation
To modify a variable's contents, the changed value generally must be assigned back to the variable.
- 22In a Jupyter notebook, the_____in which cells are run matters because later values can be overwritten by rerunning earlier cells.
Hint
The sequence of cell execution can determine which value a variable currently has.
Answer
order
Explanation
In Jupyter notebooks, cells can change variable values, so the sequence in which cells are run affects the current state.
- 23A sequence of characters and punctuation containing textual information is a_____.
Hint
Text surrounded by quotation marks is usually represented with this type.
Answer
string
Explanation
A string is a sequence of characters and punctuation that contains textual information and is commonly written between quotes.
- 24A whole number without a fractional part is represented by the_____data type.
Hint
This number type excludes fractional and decimal parts.
Answer
integer
Explanation
Integers represent whole numbers without fractions.
- 25A numeric value that contains a decimal is represented by a_____.
Hint
This numeric type can represent a value such as 2.5.
Answer
float
Explanation
Floats represent numbers that contain decimals.
- 26Data that has only two possible values, usually True or False, is_____data.
Hint
This data type represents one of two truth states.
Answer
Boolean
Explanation
Boolean data has two possible values, usually True or False, and comparison expressions produce Boolean results.
- 27When Python automatically converts one data type to another without user involvement, it performs_____.
Hint
The interpreter performs this type change without a programmer explicitly requesting it.
Answer
implicit conversion
Explanation
Implicit conversion happens automatically, such as converting an integer to a float during arithmetic involving both types.
- 28A programmer-directed change of an object's data type is called_____.
Hint
The programmer deliberately requests the type change using a conversion function.
Answer
explicit conversion
Explanation
Explicit conversion is a user-directed type change, often using int, float, or str.
- 29Explicit conversion is sometimes called_____because the user changes an object's data type.
Hint
This term describes deliberately casting data from one type to another.
Answer
typecasting
Explanation
Explicit conversion is also called typecasting because the user casts or changes an object's data type.
- 30Trying to combine incompatible data types in an operation can cause a_____.
Hint
This error indicates that an operation was applied to incompatible types.
Answer
TypeError
Explanation
Combining incompatible data types, such as an integer and a string in an unsupported operation, can produce a TypeError.
- 31A reusable body of code for performing a specific task is a_____.
Hint
This named block of code can be run repeatedly to perform a task.
Answer
function
Explanation
A function is reusable code that performs a specific task and can be called when needed.
- 32In Python, the keyword_____begins a function definition.
Hint
This three-letter keyword begins a function definition in Python.
Answer
def
Explanation
Python uses the reserved keyword def at the start of a function definition.
- 33The names specified in a function definition to represent its inputs are called_____.
Hint
These names are written in the function definition's parentheses.
Answer
parameters
Explanation
Parameters are the names in a function definition that represent the inputs it accepts; those inputs are supplied as arguments when calling it.
- 34The information supplied to a function when it is called is called its_____.
Hint
These are the actual input values given to a function call.
Answer
arguments
Explanation
Arguments are the information supplied to a function when it is called, usually in parentheses.
- 35Python uses_____to indicate which lines belong to a function's body or another code block.
Hint
The spaces at the start of a line indicate its position within a code block.
Answer
indentation
Explanation
Python uses indentation to show which lines belong to a function or other hierarchical code block.
- 36The Python keyword that makes a function provide a result for later use is_____.
Hint
Use this keyword when a function should provide a result to the calling code.
Answer
return
Explanation
The return keyword sends a function's result back for later use rather than merely printing it.
- 37Defining code once and using it many times without rewriting it is called_____.
Hint
This practice avoids recreating the same code for repeated tasks.
Answer
reusability
Explanation
Reusability means defining code once and using it many times without rewriting it.
- 38The ability to write code in separate components that work together and can be reused is_____.
Hint
This organization divides code into reusable components.
Answer
modularity
Explanation
Modularity means writing code as separate components that work together and can be reused in other programs.
- 39Restructuring code while preserving its original functionality is called_____.
Hint
This process improves code organization without changing what the code does.
Answer
refactoring
Explanation
Refactoring restructures code while maintaining its original functionality.
- 40Code written so it is readable and its purpose is clear is called_____.
Hint
This code communicates its purpose through its structure and readability.
Answer
self-documenting code
Explanation
Self-documenting code is readable and makes its purpose clear through choices such as meaningful names and concise expressions.
- 41Notes in code that explain a programmer's workflow for human readers are called_____.
Hint
These explanatory notes help collaborators understand the code.
Answer
comments
Explanation
Comments explain code for human readers, and Python ignores text after the comment marker on that line.
- 42The string at the beginning of a function body that describes its behavior, arguments, and return values is a_____.
Hint
This function-level string documents what a function does and its inputs and outputs.
Answer
docstring
Explanation
A docstring appears at the beginning of a function body and summarizes its behavior, arguments, and return values.
- 43Although consistent indentation is the key rule, Python code commonly uses_____for indentation.
Hint
This conventional indentation width improves code readability.
Answer
four spaces
Explanation
Python permits consistent indentation choices, but four spaces is commonly preferred for readability.
- 44A set of instructions for solving a problem or accomplishing a task is an_____.
Hint
A recipe is an everyday example of this organized set of steps.
Answer
algorithm
Explanation
An algorithm is a set of instructions for solving a problem or accomplishing a task.
- 45Operators that compare two values and produce Boolean results are called_____.
Hint
These operators test relationships such as equality or greater-than.
Answer
comparators
Explanation
Comparators compare two values and produce Boolean results, such as whether one value is greater than another.
- 46The operators and, or, and not are examples of_____.
Hint
The words and, or, and not belong to this operator category.
Answer
logical operators
Explanation
Logical operators such as and, or, and not connect statements or invert truth values to support more complex comparisons.
- 47A combined expression returns True only when both component expressions are True if they are joined by_____.
Hint
This logical operator requires both conditions to hold.
Answer
and
Explanation
The and operator returns True only when both expressions are True.
- 48A combined expression is True when at least one condition is True if the conditions are joined by_____.
Hint
This logical operator needs at least one true condition.
Answer
or
Explanation
The or operator returns True when either expression is True, and is False only when both are False.
- 49The logical operator that inverts the truth value of an expression is_____.
Hint
This logical operator turns True into False and False into True.
Answer
not
Explanation
The not operator inverts the truth value of the expression that follows it.
- 50A program's ability to alter its execution sequence based on conditions is called_____.
Hint
This programming concept lets a script choose among execution paths.
Answer
branching
Explanation
Branching allows a program to alter its execution sequence based on conditions.
- 51The body of an_____statement executes only when its condition evaluates to True.
Hint
This reserved keyword introduces a condition that controls a code block.
Answer
if
Explanation
An if statement executes its indented body only when its condition evaluates to True.
- 52The keyword that introduces code to run when a preceding if condition is False is_____.
Hint
This reserved keyword provides an alternative path when a preceding condition fails.
Answer
else
Explanation
An else block runs when the preceding if condition is False; it aligns at the same indentation level as its corresponding if.
- 53Python uses_____to test an additional condition when earlier conditions were not True.
Hint
This shortened keyword means 'else if.'
Answer
elif
Explanation
Elif adds another condition to test when the preceding conditions are not True, avoiding unnecessary nested if-else blocks.
- 54The operator that returns the remainder of a division is the_____operator.
Hint
This operator is commonly used to test whether a number is even.
Answer
modulo
Explanation
The modulo operator returns the remainder after one number is divided by another.
- 55A single execution of a block of code in a repeated process is an_____.
Hint
This refers to one pass through a loop's body.
Answer
iteration
Explanation
An iteration is one execution of a block of code within a repeated process.
- 56An object that can be looped over is called an_____.
Hint
Lists, strings, and other objects that can be traversed by a loop fit this description.
Answer
iterable
Explanation
An iterable is an object whose values or items can be looped over.
- 57A_____continuously executes its body while a condition evaluates to True.
Hint
This loop continues according to a Boolean condition rather than a fixed sequence length.
Answer
while loop
Explanation
A while loop repeatedly executes its body as long as its condition remains true.
- 58A_____iterates over a sequence of values, one value at a time.
Hint
This loop is useful for processing each item in a sequence.
Answer
for loop
Explanation
A for loop iterates over a sequence of values, applying its body to each value.
- 59Giving a counter variable its starting value before a loop is called_____it.
Hint
Set the starting value of a variable before using it as a loop counter.
Answer
initialize
Explanation
A loop variable such as a counter should be given an initial value before a while loop checks it.
- 60Python's_____keyword exits a loop before it would otherwise finish.
Hint
This keyword provides an early exit from a loop.
Answer
break
Explanation
The break keyword exits a loop immediately without continuing through the remaining iterations.
- 61The Python function that generates a sequence of numbers for loops is_____.
Hint
This function is frequently used to supply a sequence of values to a for loop.
Answer
range
Explanation
The range function generates a sequence that starts at zero by default, increments by one, and stops before the specified endpoint.
- 62In range, the_____is excluded from the generated sequence.
Hint
This range parameter marks the endpoint that is not included in the generated sequence.
Answer
stop value
Explanation
The endpoint passed to range is excluded, so a loop that should include 100 uses 101 as the stop value.
- 63The range parameter that controls the size of the increment is the_____.
Hint
This parameter controls how far the sequence advances each time.
Answer
step value
Explanation
The step parameter determines the difference between successive values in a range, allowing increments such as ten.
- 64When iterating over a sequence of elements or records,_____are generally the readable choice.
Hint
Choose this loop when you have a sequence of items to process.
Answer
for loops
Explanation
For loops are appropriate for iterating over a sequence or a fixed collection of elements, such as records in a dataset.
- 65When repeating an action until a Boolean condition changes,_____are often appropriate.
Hint
Choose this loop when the stopping point depends on a condition changing.
Answer
while loops
Explanation
While loops suit repeated actions that should continue until a Boolean condition changes.
- 66To link two or more strings into one longer string is to_____them.
Hint
This operation joins pieces of text together.
Answer
concatenate
Explanation
To concatenate strings is to link or join them into a longer string, commonly using the addition operator.
- 67When concatenating strings, a blank gap must be included as a_____character in one of the strings.
Hint
This character creates a blank gap between words.
Answer
whitespace
Explanation
A blank space is a character, so concatenated strings contain a visible gap only if one of the strings includes whitespace.
- 68A backslash used to alter the normal behavior of a following character is an_____.
Hint
This character changes how the next character is interpreted.
Answer
escape character
Explanation
A backslash can change the usual behavior of a following character, such as allowing quotation marks inside a string.
- 69Because strings cannot be changed in place, they are_____.
Hint
This property means a data object's contents cannot be changed in place.
Answer
immutable
Explanation
Strings are immutable, so their character values cannot be changed in place; modified strings must be assigned anew.
- 70Python's system in which the first element has index zero is called_____.
Hint
The first position in this indexing system has the number zero.
Answer
zero-based indexing
Explanation
Python assigns index zero to the first element in a sequence, with later elements numbered from there.
- 71The string method that reports the position of the first matching character or substring is the_____.
Hint
This method searches a string and reports the first matching position.
Answer
index method
Explanation
A string's index method returns the position of the first occurrence of a specified character or substring.
- 72Indices that count backward from the end of a sequence are called_____.
Hint
These indices let you access positions from the right-hand end of a sequence.
Answer
negative indices
Explanation
Negative indices count from the end of a sequence; index negative one refers to its last element.
- 73A portion of a string extracted by selecting a range of characters is a_____.
Hint
This term describes a smaller portion extracted from a string.
Answer
string slice
Explanation
A string slice is a portion of a string, also known as a substring.
- 74A slice's ending index is_____, so the character at that position is not returned.
Hint
The endpoint of a slice is left out rather than included.
Answer
exclusive
Explanation
In a slice, the ending index is not included in the returned range.
- 75To check whether one string occurs inside another, use the keyword_____.
Hint
This keyword checks membership in a sequence.
Answer
in
Explanation
The in keyword tests whether a substring is contained in a string and produces a Boolean result.
- 76The string method that inserts values into designated places in a larger string is the_____.
Hint
This method fills placeholders in a string with supplied values.
Answer
format method
Explanation
The format method inserts specified values into designated places in a larger string, often marked with braces.
- 77Unlike strings,_____are mutable, so their elements can be modified, added, or removed.
Hint
This ordered collection permits in-place changes to its contents.
Answer
lists
Explanation
Lists are mutable sequences: their elements can be modified, added, or removed, unlike string characters.
- 78A positionally ordered collection of items is called a_____.
Hint
This collection type has elements in a defined positional order.
Answer
sequence
Explanation
A sequence is a positionally ordered collection of items; strings and lists are examples.
- 79The list method that adds an element to the end of a list is_____.
Hint
Use this list method to add an item at the end.
Answer
append
Explanation
The append method adds one element to the end of a list.
- 80The list method that adds an element at a specified index is_____.
Hint
This method takes a position and a value to place there.
Answer
insert
Explanation
The insert method takes an index and an element, placing the element at the given list position.
- 81The list method that deletes a specified element by value is_____.
Hint
Use this method when you know the element's value rather than its index.
Answer
remove
Explanation
The remove method deletes a specified element by value and raises a ValueError if that value is absent.
- 82The list method that removes an element at a given index is_____.
Hint
This method removes an item using its position and can return that item.
Answer
pop
Explanation
The pop method extracts and removes a list element at a given index.
- 83An immutable sequence that can contain elements of any data type is a_____.
Hint
This sequence is like a list but its elements cannot be changed in place.
Answer
tuple
Explanation
A tuple is an immutable sequence that can contain elements of any data type.
- 84Assigning the elements of a tuple to separate variables is called_____a tuple.
Hint
This process separates the components of a sequence into individual names.
Answer
unpacking
Explanation
Unpacking assigns the elements of a tuple to separate variables.
- 85A Python dictionary stores a collection of_____.
Hint
Each dictionary entry connects a lookup label to its associated data.
Answer
key-value pairs
Explanation
A dictionary stores data as key-value pairs, letting a key provide access to its associated value.
- 86The keys in a Python dictionary must be_____.
Hint
Keys need this property so their identity remains stable.
Answer
immutable
Explanation
Dictionary keys must be immutable; lists, sets, and dictionaries cannot serve as keys, while strings, numbers, and tuples can.
- 87Because dictionaries are_____, they are accessed by keys rather than positional indices.
Hint
This property means entries should not be accessed by their position.
Answer
unordered
Explanation
Dictionaries are unordered in the described model, so their entries are accessed by keys rather than positional indices.
- 88The dictionary method that retrieves only a dictionary's lookup labels is_____.
Hint
This dictionary method returns the lookup labels rather than their associated data.
Answer
keys
Explanation
The keys method retrieves a dictionary's keys, while values retrieves values and items retrieves both.
- 89A Python collection of unique, unordered elements is a_____.
Hint
This collection automatically keeps only one occurrence of each element.
Answer
set
Explanation
A set contains unique, unordered elements; its elements are immutable, while the set itself is mutable.
- 90The set operation that finds elements shared by two sets is their_____.
Hint
This set operation returns the overlap between collections.
Answer
intersection
Explanation
The intersection of two sets contains elements shared by both.
- 91The set operation that returns all elements from both sets is their_____.
Hint
This operation combines the members of both collections.
Answer
union
Explanation
The union contains all elements from both sets, with duplicates represented only once.
- 92The set operation that finds elements in one set but not the other is the_____.
Hint
This operation identifies what is in one set but absent from another.
Answer
difference
Explanation
The difference contains elements present in one set but not in the other; its result depends on the order of subtraction.
- 93The set operation that returns elements not shared by the two sets is the_____.
Hint
This operation returns the elements that do not overlap between the two sets.
Answer
symmetric difference
Explanation
The symmetric difference contains elements found in either set but not shared by both.
- 94A compact construct that creates a new list from values in an existing list is a_____.
Hint
This concise construct writes a list-building loop in a compact, reversed-looking form.
Answer
list comprehension
Explanation
A list comprehension creates a new list from an existing iterable using a compact expression that combines a computation and a for clause.
- 95The Python library known for multidimensional arrays and high-performance numerical computation is_____.
Hint
This library's name abbreviates Numerical Python.
Answer
NumPy
Explanation
NumPy supplies multidimensional array and matrix structures and functions for numerical computation.
- 96Performing operations on multiple components of a data object at the same time is called_____.
Hint
This approach operates on multiple data elements simultaneously rather than one at a time.
Answer
vectorization
Explanation
Vectorization performs operations on multiple components of a data object at the same time, often improving speed and memory efficiency.
- 97The standard alias used for NumPy in Python code is_____.
Hint
This common two-letter alias is used after importing NumPy.
Answer
np
Explanation
The standard alias for NumPy is np, which shortens code and is familiar to other users.
- 98NumPy's N-dimensional array data structure is abbreviated_____.
Hint
This is the name for NumPy's central array object.
Answer
ndarray
Explanation
The NumPy array data object is called an N-dimensional array, abbreviated ndarray.
- 99All elements of a NumPy array are required to have the_____.
Hint
Array elements must be consistent with respect to this property.
Answer
same data type
Explanation
An ndarray requires all its elements to share a data type; NumPy may coerce mixed values to a common type if possible.
- 100The NumPy attribute used to inspect an array's dimensions is its_____.
Hint
This attribute describes an array's dimensions.
Answer
shape
Explanation
The shape attribute reports the dimensions of an array or dataframe, such as its number of rows and columns.
- 101The NumPy attribute that reports an array's number of dimensions is_____.
Hint
This attribute tells how many dimensions an array has.
Answer
ndim
Explanation
The ndim attribute reports the number of dimensions in a NumPy array.
- 102The Python library built on NumPy that is designed for tabular data analysis is_____.
Hint
This library is especially useful for working with tables of rows and columns.
Answer
pandas
Explanation
Pandas is a library built on NumPy for manipulating and analyzing tabular data.
- 103A two-dimensional, labeled pandas structure with rows and columns is a_____.
Hint
This pandas object is similar to a spreadsheet or SQL table.
Answer
dataframe
Explanation
A pandas DataFrame is a two-dimensional, labeled structure with rows and columns that can hold multiple data types.
- 104A one-dimensional, labeled array in pandas is a_____.
Hint
This is the one-dimensional core pandas object.
Answer
series
Explanation
A pandas Series is a one-dimensional, labeled array, often used to represent a DataFrame row or column.
- 105A plaintext file format that separates values with commas is called_____.
Hint
This common file format separates values with commas.
Answer
CSV
Explanation
CSV means comma-separated values and describes a plaintext format that uses commas to separate values.
- 106The standard alias used for pandas in Python code is_____.
Hint
This two-letter abbreviation is conventionally used when importing pandas.
Answer
pd
Explanation
The standard alias for pandas is pd.
- 107The pandas indexer for selecting by integer position is_____.
Hint
Use this indexer when selecting by numerical position.
Answer
iloc
Explanation
Pandas iloc selects rows and columns using integer-location-based positions.
- 108The pandas indexer for selecting rows and columns by label is_____.
Hint
Use this indexer when selecting by labels rather than integer positions.
Answer
loc
Explanation
Pandas loc selects rows and columns by their labels or names.
- 109The pandas filtering technique that retains rows matching True values in a Boolean condition is_____.
Hint
This filtering technique overlays True/False results on rows to select data.
Answer
Boolean masking
Explanation
Boolean masking filters a DataFrame by applying a Boolean condition and retaining rows whose mask values are True.
- 110In pandas Boolean filtering, the symbol used to combine conditions with logical 'and' is the_____.
Hint
This symbol joins conditions when both must be satisfied.
Answer
ampersand
Explanation
In pandas Boolean conditions, the ampersand represents logical and; each condition should be parenthesized.
- 111The pandas method that groups rows based on values in selected columns is_____.
Hint
This method organizes rows into categories before aggregation.
Answer
groupby
Explanation
The pandas groupby method groups rows according to values in one or more columns so the groups can be analyzed.
- 112Applying calculations such as mean or median to groups of data is to_____the data.
Hint
This process summarizes grouped values using calculations.
Answer
aggregate
Explanation
The agg method applies one or more calculations, such as mean and median, to grouped data.
- 113The pandas function commonly used to combine similarly structured dataframes along an axis is_____.
Hint
This function links data objects together along an axis.
Answer
concat
Explanation
The pandas concat function combines dataframes vertically or horizontally, often when their formats align.
- 114In pandas, the vertical axis that extends over rows is_____.
Hint
This axis is the vertical direction in a DataFrame.
Answer
axis zero
Explanation
Axis zero runs vertically over rows, so concatenating along it adds new rows.
- 115The pandas function that joins dataframes using shared keys is_____.
Hint
This function combines tables based on a common point of reference.
Answer
merge
Explanation
Pandas merge joins dataframes horizontally by matching shared keys.
- 116Shared points of reference used to match records between dataframes are called_____.
Hint
These common identifiers tell a join which records correspond.
Answer
keys
Explanation
Keys are shared points of reference, such as a planet column, used to match records between dataframes.
- 117A join that includes only keys appearing in both dataframes is an_____.
Hint
This join keeps only the overlap between the two sets of keys.
Answer
inner join
Explanation
An inner join retains only keys that appear in both dataframes.
- 118A join that includes all keys from both dataframes is an_____.
Hint
This join preserves every key from both inputs.
Answer
outer join
Explanation
An outer join includes all keys from both dataframes, with missing entries represented by null values where necessary.
- 119A join that retains all keys from the left dataframe is a_____.
Hint
This join preserves every key from its first, or left-hand, input.
Answer
left join
Explanation
A left join retains all keys from the left dataframe and matching keys from the right.
- 120A join that retains all keys from the right dataframe is a_____.
Hint
This join preserves every key from its second, or right-hand, input.
Answer
right join
Explanation
A right join retains all keys from the right dataframe and matching keys from the left.
- 121The Python library for creating static, animated, and interactive visualizations is_____.
Hint
This visualization library supports static and interactive plots.
Answer
matplotlib
Explanation
Matplotlib is a comprehensive Python library for static, animated, and interactive visualizations.
- 122The data visualization library based on matplotlib that simplifies common plots is_____.
Hint
This library builds on matplotlib to simplify common visualizations.
Answer
seaborn
Explanation
Seaborn is a visualization library based on matplotlib that offers a simpler interface for common plots and graphs.
- 123Python files that contain collections of functions and global variables are called_____.
Hint
These files group reusable functions and other definitions.
Answer
modules
Explanation
Modules are Python files containing collections of functions and global variables, organized within packages or libraries.
- 124The Python module commonly used to generate random numbers is_____.
Hint
This module is useful for random number generation and sampling tasks.
Answer
random
Explanation
The random module generates random numbers and can support tasks such as selecting or shuffling elements.
- 125A dataset organized so each variable is a column, each observation a row, and each observational unit a table is a_____.
Hint
This dataset follows a structure that makes manipulation, modeling, and visualization easier.
Answer
tidy dataset
Explanation
A tidy dataset facilitates analysis: each variable is a column, each observation is a row, and each type of observational unit is a table.
- 126To prepare unstructured files for the portfolio scenario, the task is to_____the data.
Hint
These are the three main preparation actions required by the project.
Answer
load, clean, and structure
Explanation
The portfolio task asks learners to prepare unstructured files by loading, cleaning, and structuring the data for a business scenario.
- 127The document used to record the project scenario, steps, and thought process is the_____.
Hint
This project document captures both planning and the work process.
Answer
PACE strategy document
Explanation
The PACE strategy document records the selected scenario and documents the steps taken and the reasoning behind them.
- 128The idea of understanding through doing is called_____.
Hint
This learning approach emphasizes gaining understanding through practice.
Answer
experiential learning
Explanation
Experiential learning means understanding through doing, and the portfolio project provides practice applying Python skills to business cases.
- 129When communicating a technical process, a data professional should consider the knowledge and needs of the_____.
Hint
Tailor an explanation to the people receiving it and their level of technical knowledge.
Answer
audience
Explanation
When explaining technical work, consider who is listening, their goals, what they already know, and what they need to know.
- 130Capabilities that can be applied across organizations and industries are called_____.
Hint
These capabilities remain useful across different jobs, organizations, and tools.
Answer
transferable skills
Explanation
Skills such as communication, problem-solving, and managing data can apply across organizations and industries, even when tools differ.
- 131A process that continues to improve through repeated learning and refinement is_____.
Hint
This describes a process that can be repeated and improved over time.
Answer
iterative
Explanation
Developing as a data professional is an iterative process: skills and work can improve as new ideas and knowledge emerge.
- 132A tangible project that demonstrates Python proficiency to potential employers can be added to a professional_____.
Hint
This collection or showcase of work can demonstrate skills in an interview.
Answer
portfolio
Explanation
A portfolio project provides a tangible example of Python proficiency and can help candidates discuss coding challenges with potential employers.
- 133Data professionals help organizations develop insights that ultimately drive_____.
Hint
These organizational choices can be informed by insights derived from data.
Answer
business decisions
Explanation
Data professionals analyze and communicate insights that help teams and organizations make business decisions.
- 134The process of examining a dataset to understand it and identify patterns is called_____.
Hint
This early analysis helps investigate patterns and understand a dataset before deeper work.
Answer
exploratory data analysis
Explanation
The program's later work includes examining data and creating visualizations to help make information useful for decision-making.

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