Python Sklearn Onehotencoder Outputs Non Array Object Error Stack

Python Sklearn Onehotencoder Outputs Non Array Object Error Stack