src/build_embeddings.py
def build_python_glove_representation(tweets):
    """
    DESCRIPTION: 
            Converts initial tweet representation (pandas Dataframe) 
            on the required representation for glove_python algorithm. 
    OUTPUT: 
            A list of lists that contains all the training tweets
    """
    return tweets.apply(lambda tweet: tweet.split()).tolist()

    DESCRIPTION: 
            Converts initial tweet representation (pandas Dataframe) 
            on the required representation for glove_python algorithm. 
    OUTPUT: 
            A list of lists that contains all the training tweets
    
Converts initial tweet representation (pandas Dataframe)
on the required representation for glove_python algorithm.
OUTPUT:
A list of lists that contains all the training tweets
Converts initial tweet representation ( pandas Dataframe ) on the required representation for glove_python algorithm . OUTPUT : A list of lists that contains all the training tweets
def build_python_glove_representation(tweets):
    return tweets.apply(lambda tweet: tweet.split()).tolist()
def build_python_glove_representation ( tweets ) : return tweets . apply ( lambda tweet : tweet . split ( ) ) . tolist ( )
DESCRIPTION:
Converts initial tweet representation (pandas Dataframe)
on the required representation for glove_python algorithm.
DESCRIPTION : Converts initial tweet representation ( pandas Dataframe ) on the required representation for glove_python algorithm .
"""
    DESCRIPTION: 
            Converts initial tweet representation (pandas Dataframe) 
            on the required representation for glove_python algorithm. 
    OUTPUT: 
            A list of lists that contains all the training tweets
    """
tweets