I would like to extract the word after the dot (.) and not a number (like 0.7), and only the word before parethenses like the bold word in the following example:
X = np.<