s="kc">False</span><span class="p">,</span>
            <span class="n">reverse</span><span class="o">=</span><span class="kc">False</span>
            <span class="p">):</span>
    <span class="sd">&quot;&quot;&quot;</span>
<span class="sd">    Converts the variable from one unit to another.</span>

<span class="sd">    :param variable: (np.array) - variable values</span>
<span class="sd">    :param mm2in: (boolean) - millimeters to inches</span>
<span class="sd">    :param c2f: (boolean) - Celsius to Fahr