MBA 618 Study Guide ACTUAL UPDATED QUESTIONS AND CORRECT ANSWERS
Integer/int whole numbers
Float decimal numbers
string/str a sequence of characters enclosed in quotation marks
, What do if, elif, and else do help make decisions in our code and allow your program to choose which code
to run based on conditions
if statement if the condition is true, it runs that block of code
elif (else if) if the first condition is false, it moves to this line and checks the next condition
else block if none of the earlier conditions are true, this block runs as the final fallback
list one of the most flexible and widely used data structures in Python. They are
ordered and mutable. They can store multiple types of values, allowing duplicates
index each character in a string has a position number. Starts at 0, meaning the first
character is at position 0
an index of -1 refers to the last character
.strip () method sometimes strings contain extra spaces at the beginning or end. You can remove
this by using the
return statement in a custom function sends a value back to wherever the function was called and immediately stops the
function
Python Library extensive ecosystem of libraries that contains prewritten code for performing
common tasks
dataframe When data is imported from external sources it is stored as a two-dimensional,
table-like structure that closely resembles a spreadsheet or database table
in the dataframe, each column represents a variable or a feature
in the dataframe, each row represents a single observation or record
what does the object data typically represent stored text
seeing this in a column that should contain numbers or dates is often a warning
sign that the data includes text, symbols, or inconsistent formatting
common issues found in raw data inconsistent column names, duplicate rows, missing values, incorrect data types,
outliers, invalid entries and formatting problems
mean the average value calculated by adding all values together and dividing by the
number of observations
median the middle value when the data is ordered from smallest to largest
Integer/int whole numbers
Float decimal numbers
string/str a sequence of characters enclosed in quotation marks
, What do if, elif, and else do help make decisions in our code and allow your program to choose which code
to run based on conditions
if statement if the condition is true, it runs that block of code
elif (else if) if the first condition is false, it moves to this line and checks the next condition
else block if none of the earlier conditions are true, this block runs as the final fallback
list one of the most flexible and widely used data structures in Python. They are
ordered and mutable. They can store multiple types of values, allowing duplicates
index each character in a string has a position number. Starts at 0, meaning the first
character is at position 0
an index of -1 refers to the last character
.strip () method sometimes strings contain extra spaces at the beginning or end. You can remove
this by using the
return statement in a custom function sends a value back to wherever the function was called and immediately stops the
function
Python Library extensive ecosystem of libraries that contains prewritten code for performing
common tasks
dataframe When data is imported from external sources it is stored as a two-dimensional,
table-like structure that closely resembles a spreadsheet or database table
in the dataframe, each column represents a variable or a feature
in the dataframe, each row represents a single observation or record
what does the object data typically represent stored text
seeing this in a column that should contain numbers or dates is often a warning
sign that the data includes text, symbols, or inconsistent formatting
common issues found in raw data inconsistent column names, duplicate rows, missing values, incorrect data types,
outliers, invalid entries and formatting problems
mean the average value calculated by adding all values together and dividing by the
number of observations
median the middle value when the data is ordered from smallest to largest