eturn (trn, val, preproc)</code></pre>
</details>
</dd>
<dt id="ktrain.text.data.texts_from_csv"><code class="name flex">
<span>def <span class="ident">texts_from_csv</span></span>(<span>train_filepath, text_column, label_columns=[], val_filepath=None, max_features=20000, maxlen=400, val_pct=0.1, ngram_range=1, preprocess_mode='standard', encoding=None, lang=None, sep=',', is_regression=False, random_state=None, verbose=1)</span>
</code></dt>
<dd>
<div class="desc"><pre><code>Loads text data from CSV or TSV