j
dictionary
phonebook
example
RECURSION:
-base case -> smaller instances -> original problem
-stack overflow* .
CONDITIONAL STATEMENTS: FUNCTIONS:
-def function_ name (x, y):
-return: to use value calculated
by function, stops execution
LOOPS: *
take a
deep
#
breath.
4
--
I -
&-
2
return f"Name :
[Self . 3
name
,
Mass :
Sself . mass 3 "
TEST
EXAMPLES
PARTS 1-2
numpy
3
Morph by Neighborhood
Creating and Reading
Erosion and Dilation
Noise
Binary Segmentation
Noise No Overflow
1302
.
i.
Transpose M
Masking 2
Dark Noise No Overflow
Erosion Example:
: 2024 /Rand :NEI
Darken ↑
Squeeze & Threshold >
-
More Numpy :( #
Ternary Segmentation GOAL 1: Create a df (df_partial) that contains
the first, third, and fifth lines in df
option 1:
x=[1,3,5]
df_partial = df. iloc[x]
option 2: df_partial = df.iloc[[1,3,5]]
option 3: df_partial=df.iloc[1:7:2]
display(df_partial)
GOAL 2: fetch the last line from df_partial
sorts values in a defined columna
the rest of the columns do not move
but the order of them will change connect 3 dataframes
input: histogram
output: list of cumulative sums
S
histogram + cum_sum
-
: 245610 /RONN 1NdR
image gradient:
brightening image: