final Flashcards

1
Q

benefits of python

A

large ecosystem
community support
readability and simplicity
versatility
interactivity
integration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

python basic data types

A

str, float, int

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

tuple vs list vs dictionary

A

tuple: (), immutable - only count/index
list: [], mutable
dictionary: {key: value}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is a function? what is a library?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

common python libraries: numpy, pandas, matplotlib, scikit-learn, math

what does math.ceil() do?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

types of analytics

A

descriptive: what happened?
predictive: what could happen?
prescriptive: what should happen?
disgnostic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly