coordle/preprocessing/cord_19_data.py
def process_data(self):
        '''Processes the CORD-19 data.
        
        Loads and pre-processes CORD-19 data in specified data directory.
        We take inspiration from Daniel Wolffram's "CORD-19: Create Dataframe" Notebook
        and the "Date updates thread" from the challenge.
        - https://www.kaggle.com/danielwolffram/cord-19-create-dataframe
        - https://www.kaggle.com/allen-institute-for-ai/CORD-19-research-challenge/discussion/137474
        
        Returns:
            cord_df: Pandas DataFrame with processed CORD-19 data
        '''
        # Perform pre-processing
        metadata_df = self._load_metadata()
        metadata_df = self._clean_metadata(metadata_df)
        cord_df = self._parse_metadata(metadata_df)
        cord_df = self._remove_duplicates(cord_df)
        cord_df = self._perform_lang_detection(cord_df)

        return cord_df
Processes the CORD-19 data.
        
        Loads and pre-processes CORD-19 data in specified data directory.
        We take inspiration from Daniel Wolffram's "CORD-19: Create Dataframe" Notebook
        and the "Date updates thread" from the challenge.
        - https://www.kaggle.com/danielwolffram/cord-19-create-dataframe
        - https://www.kaggle.com/allen-institute-for-ai/CORD-19-research-challenge/discussion/137474
        
        Returns:
            cord_df: Pandas DataFrame with processed CORD-19 data
        
Processes the CORD-19 data.
Loads and pre-processes CORD-19 data in specified data directory.
We take inspiration from Daniel Wolffram's "CORD-19: Create Dataframe" Notebook
and the "Date updates thread" from the challenge.
Processes the CORD - 19 data . Loads and pre - processes CORD - 19 data in specified data directory . We take inspiration from Daniel Wolffram ' s " CORD - 19 : Create Dataframe " Notebook and the " Date updates thread " from the challenge .
def process_data(self):
        metadata_df = self._load_metadata()
        metadata_df = self._clean_metadata(metadata_df)
        cord_df = self._parse_metadata(metadata_df)
        cord_df = self._remove_duplicates(cord_df)
        cord_df = self._perform_lang_detection(cord_df)
        return cord_df
def process_data ( self ) : metadata_df = self . _load_metadata ( ) metadata_df = self . _clean_metadata ( metadata_df ) cord_df = self . _parse_metadata ( metadata_df ) cord_df = self . _remove_duplicates ( cord_df ) cord_df = self . _perform_lang_detection ( cord_df ) return cord_df
Processes the CORD-19 data.
Processes the CORD - 19 data .
'''Processes the CORD-19 data.
        
        Loads and pre-processes CORD-19 data in specified data directory.
        We take inspiration from Daniel Wolffram's "CORD-19: Create Dataframe" Notebook
        and the "Date updates thread" from the challenge.
        - https://www.kaggle.com/danielwolffram/cord-19-create-dataframe
        - https://www.kaggle.com/allen-institute-for-ai/CORD-19-research-challenge/discussion/137474
        
        Returns:
            cord_df: Pandas DataFrame with processed CORD-19 data
        ''' # Perform pre-processing
Pandas DataFrame with processed CORD-19 data
Pandas DataFrame with processed CORD - 19 data
cord_df
self