>
<span>Expand source code</span>
</summary>
<pre><code class="python">def export_undefined(df, outdir):
    &#34;&#34;&#34;Function to export terms that still need to be defined.

    Parameters
    ----------
    df : pandas.DataFrame
        Dataframe containing at least some unclassified data
    outdir : str or pathlib.Path
        Directory to save file. Filename will be generated automatically based on today&#39;s date.

    Returns
    -------
    stillNeededDF : pandas.DataFrame
        Dataframe c