class_docstr: LabelEncoder that can handle categorical variables.
class_docstr_tok: ["LabelEncoder","that","can","handle","categorical","variables","."]
code: def __init__(self, X=None):
      if X is not None:
          self.fit(X)
  
imports: from __future__ import division
  import numpy
  from sklearn.preprocessing import LabelBinarizer
  from sklearn.utils import column_or_1d
label_desc: Use image node_id 1 to create a new LabelEncoder object from inherited base classes: Transformer with example: obj = LabelEncoder(X)