MAINT: Raise TypeError
with error inputting type
#705
Merged
TypeError
with error inputting type
#705