The following code is from 'Python for Data Analysis':
from io import StringIO
import io
tag = '<a href="http://www.google.com">Google</a>'
root = objectify.parse(io.StringIO(tag).getroot())
Executing the code produces the following error:
TypeError: initial_value must be unicode or None, not str
Please help!