extracting subwords in string scaa code example
Example 1: typage in python
# for a string named str1
str1: str = "this is a string"
#for an int named toto
toto: int
#and it works for every types (str, int, floats, dict...)
Example 2: remove nans and infs python
df.replace([np.inf, -np.inf], np.nan).dropna(axis=1)