Is there a method like isiterable? The only solution I have found so far is to call
isiterable
hasattr(myObj, \'__iter__\')
But I am not
pandas has a built-in function like that:
from pandas.util.testing import isiterable