 class="docs-heading-anchor" href="#Encoding">Encoding</a><a id="Encoding-1"></a><a class="docs-heading-anchor-permalink" href="#Encoding" title="Permalink"></a></h2><p>Categorical variables often need to be encoded into numerical form for machine learning algorithms.</p><h3 id="LabelEncoder"><a class="docs-heading-anchor" href="#LabelEncoder">LabelEncoder</a><a id="LabelEncoder-1"></a><a class="docs-heading-anchor-permalink" href="#LabelEncoder" title="Permalink"></a></h3><p>Encodes target labels with valu