coordle/preprocessing/cord_19_data.py
def _remove_duplicates(self, df: pd.DataFrame):
        '''Removes duplicate rows with the same abstract/body_text
        
        Args:
            df: DataFrame to remove duplicates from
        
        Returns:
            df: DataFrame without duplicates
        '''
        print('Removing duplicates...')
        df.drop_duplicates(['abstract', 'body_text'], inplace=True)

        print('Done!')
        return df
Removes duplicate rows with the same abstract/body_text
        
        Args:
            df: DataFrame to remove duplicates from
        
        Returns:
            df: DataFrame without duplicates
        
Removes duplicate rows with the same abstract/body_text
Removes duplicate rows with the same abstract / body_text
def _remove_duplicates(self, df: pd.DataFrame):
        print('Removing duplicates...')
        df.drop_duplicates(['abstract', 'body_text'], inplace=True)
        print('Done!')
        return df
def _remove_duplicates ( self , df : pd . DataFrame ) : print ( 'Removing duplicates...' ) df . drop_duplicates ( [ 'abstract' , 'body_text' ] , inplace = True ) print ( 'Done!' ) return df
Removes duplicate rows with the same abstract/body_text
Removes duplicate rows with the same abstract / body_text
'''Removes duplicate rows with the same abstract/body_text
        
        Args:
            df: DataFrame to remove duplicates from
        
        Returns:
            df: DataFrame without duplicates
        '''
DataFrame without duplicates
DataFrame without duplicates
df
self
df
pd.DataFrame
DataFrame to remove duplicates from
DataFrame to remove duplicates from