final Flashcards
benefits of python
large ecosystem
community support
readability and simplicity
versatility
interactivity
integration
python basic data types
str, float, int
tuple vs list vs dictionary
tuple: (), immutable - only count/index
list: [], mutable
dictionary: {key: value}
what is a function? what is a library?
function: block of organized, reusable code used to perform a single, related action
library: collections of pre-written code that provide ready-made functions and methods to accomplish specific tasks
* reusable code, promoting modularity, reducing redundancy + time used
common python libraries: numpy, pandas, matplotlib, scikit-learn, math
what does math.ceil() do?
numpy: numerical operations, arrays
pandas: data transformation, analysis, dataframes
matplotlib: data visualization, plotting
sklearn: tools for machine learning, predictive analytics
math: mathematical operations
math.ceil(): rounds up to integer
types of analytics
descriptive: what happened?
predictive: what could happen?
prescriptive: what should happen?
disgnostic