PCED study materials
PCED study resources

PCED key terms

PCED · Get comfortable with the vocabulary.

Population

The complete set of all units or records you want to draw conclusions about, such as every customer in a database or every sensor reading in a period.

Related: Sample, Sampling Bias
Sample

A subset of a population that is actually measured or analyzed, used when collecting data from every unit is impractical or impossible.

Related: Population, Sampling Bias, Representativeness
Sampling Bias

A systematic distortion that occurs when the units selected for a sample differ in relevant ways from the population, so results do not generalize.

Related: Sample, Representativeness, Selection Bias
Representativeness

The degree to which a sample mirrors the composition and variation of the population on characteristics that matter for the question being studied.

Related: Sample, Sampling Bias
Structured Data

Data organized into a defined schema of rows and columns or key-value pairs, such as a CSV table or a database table, that is easy to query programmatically.

Related: Unstructured Data, CSV
Unstructured Data

Data without a predefined tabular model, such as free text, images, audio, or log messages, which usually needs parsing before it can be analyzed.

Related: Structured Data
Data Type

The category that determines which values a field can hold and which operations are valid, for example integer, float, string, boolean, or date.

Related: Type Coercion, Missing Value
Variable

A named reference in a program that points to a value stored in memory, allowing that value to be reused, reassigned, and passed to functions.

Related: Data Type, Function
List

An ordered, mutable Python sequence that holds items by position and supports indexing, slicing, appending, and iteration over its elements.

Related: Dictionary, Tuple, List Comprehension
Dictionary

A mutable Python mapping of unique keys to values that allows fast lookup by key rather than by numeric position, useful for counting and grouping.

Related: List, Counter, defaultdict
Tuple

An ordered, immutable Python sequence often used for fixed records such as coordinate pairs or rows that should not be modified after creation.

Related: List, Unpacking
Set

An unordered Python collection of unique hashable elements that supports fast membership tests and mathematical operations such as union and intersection.

Related: List, Dictionary
List Comprehension

A compact Python expression that builds a new list by applying an expression to each item of an iterable, optionally filtering with a condition.

Related: List, Generator Expression
Generator Expression

A lazy Python expression that yields items one at a time from an iterable, saving memory when processing large data streams that need not be stored.

Related: List Comprehension
Control Flow

The order in which statements execute, directed by conditional branches such as if and elif and by loops such as for and while.

Related: Loop, Exception Handling
Loop

A construct that repeats a block of statements, either over items of an iterable with for or while a condition remains true.

Related: Control Flow, List Comprehension
Function

A named, reusable block of code that accepts parameters, performs a task, and optionally returns a value, improving clarity and avoiding duplication.

Related: Variable, Exception Handling
Exception Handling

The use of try, except, else, and finally blocks to detect runtime errors and respond to them without crashing the whole program.

Related: Function, Control Flow
File Handling

Opening, reading, writing, and closing files in Python, typically with a with statement so the file is closed automatically even if an error occurs.

Related: CSV, Exception Handling
CSV

A plain-text format that stores tabular data as rows of values separated by a delimiter, usually a comma, with an optional header row.

Related: csv Module, Structured Data, Delimiter
csv Module

A Python standard-library module providing reader and writer objects, plus DictReader and DictWriter, for parsing and producing delimited text files.

Related: CSV, Delimiter
Delimiter

The character or string that separates fields within a record in a delimited file, commonly a comma, tab, semicolon, or pipe.

Related: CSV, csv Module
Missing Value

An absent or unrecorded entry in a dataset, represented in Python by None or NaN, which must be handled before aggregation or modeling.

Related: Data Type, Imputation, Outlier
Outlier

An observation that lies far from the rest of the distribution, which may reflect genuine variation, a measurement error, or a data-entry mistake.

Related: Missing Value, Descriptive Statistics
Duplicate Record

A row that repeats the same entity or measurement already present in the dataset, often inflating counts and skewing summary statistics if not removed.

Related: Data Cleaning, Descriptive Statistics
Data Cleaning

The process of detecting and correcting inaccurate, incomplete, duplicated, or inconsistently formatted records so analysis results are trustworthy.

Related: Duplicate Record, Type Coercion, Imputation
Type Coercion

Converting a value from one data type to another, such as turning a numeric string into an integer, which may fail or silently alter meaning.

Related: Data Type, Data Cleaning
Imputation

Filling in missing values with a substitute such as the mean, median, mode, or a predicted value, rather than discarding the affected records.

Related: Missing Value, Data Cleaning, Descriptive Statistics
Descriptive Statistics

Summary measures that characterize a dataset, including counts, central tendency such as mean and median, and spread such as standard deviation and range.

Related: Mean, Median, Standard Deviation
Mean

The arithmetic average of a set of values, computed by summing them and dividing by the count, and sensitive to extreme values.

Related: Median, Outlier, statistics Module
Median

The middle value of an ordered dataset, or the average of the two middle values, which is more robust to outliers than the mean.

Related: Mean, Outlier, Descriptive Statistics
Standard Deviation

A measure of how far values typically lie from the mean, equal to the square root of the variance and expressed in the original units.

Related: Mean, Descriptive Statistics, statistics Module
statistics Module

A Python standard-library module offering functions such as mean, median, mode, stdev, variance, and correlation for small to moderate datasets.

Related: Mean, Median, Standard Deviation
NumPy Array

A fixed-type, multidimensional container from the NumPy library that supports fast element-wise arithmetic, slicing, and vectorized operations on numeric data.

Related: Vectorization, Broadcasting, NumPy
Vectorization

Performing an operation on an entire array at once instead of looping element by element, which produces shorter code and much faster execution.

Related: NumPy Array, Broadcasting
Broadcasting

NumPy's rule for combining arrays of different shapes by conceptually stretching the smaller one, such as subtracting a per-column mean from every row.

Related: NumPy Array, Vectorization
Counter

A collections class that counts occurrences of elements and returns them as a dictionary-like mapping of item to frequency, with methods for most common items.

Related: Dictionary, defaultdict, collections Module
defaultdict

A collections subclass of dict that supplies a default value for missing keys, commonly used to group records into lists without pre-initializing each key.

Related: Dictionary, Counter, collections Module
datetime Module

A Python standard-library module providing date, time, timedelta, and datetime objects for parsing, formatting, comparing, and arithmetic on dates and times.

Related: Timestamp Parsing, Time Zone
Timestamp Parsing

Converting a textual date or time into a datetime object, typically with strptime and an explicit format string, so it can be sorted and compared.

Related: datetime Module, Time Zone
Time Zone

A regional offset from UTC that determines local clock time, which must be handled explicitly to avoid misaligned or double-counted time-based analysis.

Related: datetime Module, Timestamp Parsing
Grouping and Aggregation

Splitting records into groups by one or more key fields and computing a summary such as count, sum, or average for each group.

Related: defaultdict, Descriptive Statistics
Data Transformation

Reshaping, filtering, deriving, or normalizing data so it fits the analysis, for example adding computed columns or converting wide layouts to long ones.

Related: Vectorization, Data Cleaning
Data Visualization

Encoding data values as visual properties such as position, length, or color so patterns, comparisons, and anomalies become easier to perceive.

Related: Bar Chart, Histogram, Data-Ink Ratio
Bar Chart

A chart that represents categorical values as bars whose lengths encode magnitude, well suited to comparing a modest number of discrete categories.

Related: Histogram, Data Visualization
Histogram

A chart that bins a numeric variable into intervals and shows the count or frequency per bin, revealing the shape and spread of a distribution.

Related: Bar Chart, Descriptive Statistics, Data Visualization
Data-Ink Ratio

The proportion of a graphic's ink devoted to actual data rather than decoration, gridlines, or redundant labels; maximizing it reduces visual clutter.

Related: Chart Junk, Data Visualization
Chart Junk

Decorative or distracting elements in a chart, such as heavy gridlines, 3D effects, or gratuitous images, that add no information and can mislead.

Related: Data-Ink Ratio, Misleading Axis
Misleading Axis

An axis whose scale, starting point, or breaks distort perceived differences, such as a bar chart baseline that does not begin at zero.

Related: Chart Junk, Data Visualization
Data Storytelling

Structuring an analysis into a clear narrative with context, a central finding, supporting evidence, and a recommended action for a specific audience.

Related: Audience, Executive Summary
Audience

The people who will receive an analysis, whose technical background and decisions determine the appropriate level of detail, vocabulary, and chart complexity.

Related: Data Storytelling, Executive Summary
Executive Summary

A short opening section that states the main finding and its implications up front, letting busy readers grasp the conclusion before the supporting detail.

Related: Data Storytelling, Audience
Informed Consent

Permission obtained from people before their data is collected or reused, given with a clear understanding of purpose, scope, and possible consequences.

Related: Anonymization, Data Minimization
Anonymization

Removing or transforming identifiers so individuals cannot reasonably be re-identified, noting that combining quasi-identifiers can still enable re-identification.

Related: Informed Consent, Data Minimization
Data Minimization

The principle of collecting and retaining only the data actually needed for a stated purpose, reducing exposure and privacy risk over time.

Related: Informed Consent, Anonymization
Selection Bias

Distortion caused by how records enter the dataset, for example analyzing only customers who completed a survey or only rows that passed a filter.

Related: Sampling Bias, Data Cleaning