1/57
Vocabulary practice flashcards covering UI/UX design principles, report classification, Python basics, Pandas operations, and Dash web application architecture from IE 172.
User Experience (UX)
All aspects of a person's interaction with a software application, including actions, responses, and feelings.
User Interface (UI)
The set of inputs and outputs that the user interacts with to invoke functions of an application.
User-centered Design
A collection of techniques that place the user at the center of the development process through early focus on users, usability evaluation, and iterative development.
Consistency (Form Design)
The design principle requiring forms within a system to maintain the same look and feel, including consistent use of function keys, shortcuts, control buttons, color, and layout.
Distribution & Order (Form Design)
Arranging related fields into logical groups and placing them in an expected order (such as First, Middle, and Last Names).
Dash Bootstrap Components (DBC)
A library that provides pre-styled Bootstrap UI and layout components (such as cards, navbars, alerts, and grid layouts) focused primarily on visual styling and responsive page layout.
Dash Core Components (DCC)
A library that provides essential interactive controls and data-driven widgets (such as graphs, dropdowns, sliders, and date pickers) focused on functional interactivity and data display.
Detailed Reports
Reports providing specific information on business transactions, such as a list of overdue accounts where each line contains details about an individual account.
Summary Reports
Reports used to recap periodic activity, such as daily or weekly summaries of sales transactions.
Exception Reports
Reports providing details or summary information about transactions or operating results that fall outside of a predefined normal range of values (e.g., parts failing quality control more than 0.2% of the time).
Executive Reports
High-level reports used by managers to assess overall organizational health and performance.
Internal Reports
Reports produced specifically for operational and management use within an organization, including detailed, summary, exception, and executive reports.
External Reports
Statements, notices, and other documents that are produced for entities or individuals outside the organization.
Pandas Series
A one-dimensional labeled data structure in Pandas capable of holding data of any type with an associated index.
Pandas DataFrame
A two-dimensional, tabular data structure in Pandas consisting of rows and columns with labeled axes (index and column headers).
df.loc[] definition
A Pandas indexing operator used for label-based selection of rows and columns in a DataFrame.
df.iloc[] definition
A Pandas indexing operator used for integer position-based selection of rows and columns in a DataFrame.
Editor (VS Code)
The primary work area in Visual Studio Code used to view and edit files.
Primary Side Bar (VS Code)
A sidebar panel in Visual Studio Code that displays different views, such as the file Explorer or Source Control, to assist development.
Status Bar (VS Code)
The bottom horizontal bar in Visual Studio Code that displays information about the opened project, active interpreter, and edited files.
Activity Bar (VS Code)
The bar located on the far edge of Visual Studio Code used to switch between primary views and display context-specific indicators.
Python Virtual Environment (venv)
An isolated space on a computer where Python project packages and dependencies are managed separately from the system-wide Python installation.
SQL Injection
A database exploit that occurs when malicious SQL code is input into a user field, which can be prevented by using parameterized queries with placeholders like %s.
Dash Callback
A Python function decorated with @app.callback that automatically updates application components when specific user inputs or page changes occur.
Callback Input
A component property inside a Dash callback decorator that serves as a trigger to execute the decorated callback function whenever its value changes.
Callback Output
A component property specified in a Dash callback decorator defining where the return value of the callback function will be directed and updated.
Callback State
A component property passed into a Dash callback function that allows the function to read current data values without triggering the function execution.
dcc.Location
An invisible Dash Core Component used to track, read, and manipulate the current URL or page pathname for multi-page routing.
dcc.Store
An invisible Dash Core Component that stores data in the user's browser memory, session, or local storage.
rem (Root em)
A relative CSS unit of measurement calculated based on the root font size of the entire webpage.
[Python Data Type] Boolean (bool)
True of False
[Python Data Type] Numeric
Can be an integer (int) or a floating point (float) for numeric values with decimal points
[Python Data Types] Others
String (str), List (list), Dictionary (dict), None Type (none)
Strings

f-strings

Lists

Dictionaries

Different Control Structures
Sequential - normal and basic sequence
Selection/Decision - IF, ELSE, ELIF or the dictionaries
Repetition - while or for loops
Functions
U can make ur own functions by using “def [function name]: [function]”
when u place the function name, itll run the task
Coding Practices
Follow a naming convention for your variables and functions. ‘snake_case’ is usually set for variables while ‘camelCase’ is preferred for functions.
When naming variable or functions, use that opportunity to describe their use of that variable of functions (Helping with readability)
Avoid very long lines of code. Scrolling sideways is not ideal to read code
Write comments for whatever your code does. Can help with remembering what they do
Pandas
Python library that specializes in creating, manipulating, importing, and analyzing data
Can organize and modify data into rows and columns similar to a spreadsheet in python
Easy and straightforward to use, and it works seamlessly with python
Contain functions specializing in data processing, data cleaning, and data analysis
Integrates nicely with other data visualization libraries like matplotlib and seaborn
Installing: “pip3 install pandas” then “import pandas as pd”
pd.Series
pd.Series alone - when printing, index is printed as 0, 1, 2 and so on. shows data type
pd.Series([name], index=[x, y, z]) - when printing, will adjust the index accordingly
print(datasetname[‘index’]) - prints out just the value associated with the index in the data set
![<p>pd.Series alone - when printing, index is printed as 0, 1, 2 and so on. shows data type </p><p>pd.Series([name], index=[x, y, z]) - when printing, will adjust the index accordingly</p><p>print(datasetname[‘index’]) - prints out just the value associated with the index in the data set </p>](https://assets.knowt.com/user-attachments/8ce93481-7f60-463a-80a4-19096d97f185.png)
Data Frame
to create a data frame,
name_data = {‘Category 1’: [‘Item 1’, ‘Item 2’, ‘Item 3’], ‘Category 2’: [‘Item 1’, ‘Item 2’, ‘Item 3’]}
name_df = pd.DataFrame(name_data)
![<p>to create a data frame, </p><p>name_data = {‘Category 1’: [‘Item 1’, ‘Item 2’, ‘Item 3’], ‘Category 2’: [‘Item 1’, ‘Item 2’, ‘Item 3’]}</p><p>name_df = pd.DataFrame(name_data)</p>](https://assets.knowt.com/user-attachments/bcc3ef4d-8dab-4ec9-a2d5-24ad9f93ddf0.png)
df.loc[] example
better for most tasks, since youre referencing by name. can prevent bugs if dataframe gets reordered
*note: output pictures of last 2 rows r switched

df.iloc[] example
better if labels dont matter (ex. just need the first or last row of the dataframe). also works if u dont wanna type the names but know the position of the columns

Importing datasets into Pandas
df = pd.read_csv() or pd.read_excel()
Use df.head() to preview first few rows of the data frame. df.tail() for the last few. can input X number of rows but by default it’s 5
[Pandas Data Frames] Display number of null values in each column
df.isna().sum()
[Pandas Data Frames] Handling duplicates
Check using: emp_df.duplicated()
Remove using: df_no_duplicates = emp_df.drop_duplicates(keep=’first’)
[Summarizing datasets] df.info()
Dataset overview

[Summarizing datasets] df.describe()
summary statistics for numerical data

[Summarizing datasets] df.shape
Number of rows and columns
[Summarizing datasets] df.columns
Shows column names
[Summarizing datasets] df.value_counts()
Counts frequency for categorical data
Can constrain to a certain column by doing df[‘Column’].value_counts()
Can count combinations using df.value_counts(subset=[’Column 1’, ‘Column 2’])
[Summarizing datasets] df.nunique()
shows how many unique values re in each column
[Summarizing datasets] df[‘Column’].unique()
lists an array of unique values in a column
[Summarizing datasets] df.sample(n)
randomly selects a configurable amounts of rows in a DF
Dropping rows with null values

Fill NaN with data
df[‘Column’].fillna()