def get_fresh_primary_tumors(biospecimen):
df = biospecimen  <EOL>num_before = len(df.index)<EOL>df = df.loc[~df['<STR_LIT>']]<EOL>logger.info('<STR_LIT>'<EOL>'<STR_LIT>',<EOL>num_before - len(df.index), num_before)<EOL>num_before = len(df.index)<EOL>df = df.loc[df['<STR_LIT>'] == '<STR_LIT>']<EOL>logger.info('<STR_LIT>'<EOL>'<STR_LIT>',<EOL>num_before - len(df.index), num_before)<EOL>return df<EOL>
Filter biospecimen data to only keep non-FFPE primary tumor samples.

    Parameters
    ----------
    biospecimen : `pandas.DataFrame`
        The biospecimen data frame. This type of data frame is returned by
        :meth:`get_biospecimen_data`.

    Returns
    -------
    `pandas.DataFrame`
        The filtered data frame.