you need to do: from pandas.compat import StringIO in order to pass python3