---

title: Encode


keywords: fastai
sidebar: home_sidebar

summary: "Encoding methods."
description: "Encoding methods."
nb_path: "nbs/transforms/transforms.encode.ipynb"
---
<!--

#################################################
### THIS FILE WAS AUTOGENERATED! DO NOT EDIT! ###
#################################################
# file to edit: nbs/transforms/transforms.encode.ipynb
# command to build the docs after a change: nbdev_build_docs

-->

<div class="container" id="notebook-container">
        
    {% raw %}
    
<div class="cell border-box-sizing code_cell rendered">

</div>
    {% endraw %}

    {% raw %}
    
<div class="cell border-box-sizing code_cell rendered">

<div class="output_wrapper">
<div class="output">

<div class="output_area">


<div class="output_markdown rendered_html output_subarea ">
<h4 id="label_encode" class="doc_header"><code>label_encode</code><a href="https://github.com/RecoHut-Projects/recohut/tree/master/recohut/transforms/encode.py#L6" class="source_link" style="float:right">[source]</a></h4><blockquote><p><code>label_encode</code>(<strong><code>data</code></strong>, <strong><code>col</code></strong>, <strong><code>maps</code></strong>=<em><code>None</code></em>)</p>
</blockquote>

</div>

</div>

</div>
</div>

</div>
    {% endraw %}

    {% raw %}
    
<div class="cell border-box-sizing code_cell rendered">

</div>
    {% endraw %}

</div>
 

