One hot Encoding with multiple labels in Python?

One hot Encoding with multiple labels in Python
In [1]:
## One hot Encoding with multiple labels in Python 
def Kickstarter_Example_36():
    print()
    print(format('How to do One hot Encode with multiple labels in Python', '*^82'))

    import warnings
    warnings.filterwarnings("ignore")

    # Load libraries
    from sklearn.preprocessing import MultiLabelBinarizer

    # Create NumPy array
    y = [('Texas', 'Florida'),
         ('California', 'Alabama'),
         ('Texas', 'Florida'),
         ('Delware', 'Florida'),
         ('Texas', 'Alabama')]

    # Create MultiLabelBinarizer object
    one_hot = MultiLabelBinarizer()

    # One-hot encode data
    print(); print(one_hot.fit_transform(y))

    # View Column Headers
    # View classes
    print(); print(one_hot.classes_)

Kickstarter_Example_36()
*************How to do One hot Encode with multiple labels in Python**************

[[0 0 0 1 1]
 [1 1 0 0 0]
 [0 0 0 1 1]
 [0 0 1 1 0]
 [1 0 0 0 1]]

['Alabama' 'California' 'Delware' 'Florida' 'Texas']