lean): verbosity
</code></pre></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">def texts_from_df(
    train_df,
    text_column,
    label_columns=[],
    val_df=None,
    max_features=MAX_FEATURES,
    maxlen=MAXLEN,
    val_pct=0.1,
    ngram_range=1,
    preprocess_mode=&#34;standard&#34;,
    lang=None,  # auto-detected
    is_regression=False,
    random_state=None,
    verbose=1,
):
    &#34;&#34;&#34;
    ```
    Loads text data from Panda