how to delete an item if it is empty pandas code example
Example: delete an element by value from a list if it made of white spaces python
[name for name in starring if name.strip()]
[name for name in starring if name.strip()]