endterm random Flashcards
imperative programming
focus on step by step instructions
declarative programming
focuses on what to do rather than how to do it
encapsulating
groups related variables and functions together.
a car hides how it engine works.
abstraction
implies complex systems
you dont need to know how the engine converts fuel into motion
polymorphism
same function works differently for different objects
inheritance
a new thing can borrow or reuse features from an existing thing
why use OOP
Modularity: Code is organized into reusable objects.
Reusability: Objects and classes can be reused across programs.
Scalability: Easier to extend and maintain as programs grow.
Efficiency: Helps in structuring complex systems effectively.
3 fundamental characteristics objects
- identity
- state
- behavior
terminology
table with white and blue.
you dont show the model the label, you let it predict/guess it, then you look at the results and see if it’s accurate.
slicing
technique for selecting specific subsets of data from a DataFrame or series object. based on ONE DIMENSION
dicing
a technique for selecting specific subsets of data from a DataFrame based on multiple dimensions or criteria. MULTIPLE DIMENSIONS
inner joins
returns only the rows that have matching values in both dataframes