explore.py
def explicit_viz(df):
    '''
    This function produces a swarm plot on explicit tracks' and non-explicit tracks' popularity.
    '''
    #print('Does a track being explicit or not correlate with its popularity?')
    sns.catplot(x="explicit", y="popularity", kind="swarm", data=df, height=8, aspect=1)
    plt.title(label="Does a track being explicit or not correlate with its popularity?")
    plt.show()

    This function produces a swarm plot on explicit tracks' and non-explicit tracks' popularity.
    
This function produces a swarm plot on explicit tracks' and non-explicit tracks' popularity.
This function produces a swarm plot on explicit tracks ' and non - explicit tracks ' popularity .
def explicit_viz(df):
    sns.catplot(x="explicit", y="popularity", kind="swarm", data=df, height=8, aspect=1)
    plt.title(label="Does a track being explicit or not correlate with its popularity?")
    plt.show()
def explicit_viz ( df ) : sns . catplot ( x = "explicit" , y = "popularity" , kind = "swarm" , data = df , height = 8 , aspect = 1 ) plt . title ( label = "Does a track being explicit or not correlate with its popularity?" ) plt . show ( )
This function produces a swarm plot on explicit tracks' and non-explicit tracks' popularity.
This function produces a swarm plot on explicit tracks ' and non - explicit tracks ' popularity .
'''
    This function produces a swarm plot on explicit tracks' and non-explicit tracks' popularity.
    ''' #print('Does a track being explicit or not correlate with its popularity?')
df