Hi @Risharky, there are probably multiple ways to do this, two of which are below:
-
The simple, lazy way: wrap your code within a try-except, with a standard error message in case of an error.
-
Use some pandas df filtering. An example of this is provided by @asehmi in the link below:
Cheers
1 Like