original_docstring: 
  
      Displays topics associated with a song.
  
      Adds 1 to the topic indexes to make them correspond to the pyLDAvis topic numbers.
  
      
docstring: Displays topics associated with a song.
  Adds 1 to the topic indexes to make them correspond to the pyLDAvis topic numbers.
docstring_tokens: Displays topics associated with a song . Adds 1 to the topic indexes to make them correspond to the pyLDAvis topic numbers .
code: def display_song_topics(song, data):
      """
  
      Displays topics associated with a song.
  
      Adds 1 to the topic indexes to make them correspond to the pyLDAvis topic numbers.
  
      """
      if type(song) is str:
          d = data[data['song'] == song][['song', 'artist', 'topics']]
          d.topics = d.topics + 1
          display(d)
      elif type(song) is list:
          d = data[data['song'].isin(song)][['song', 'artist', 'topics']]
          d.topics = d.topics + 1
          display(d)
code_tokens: def display_song_topics ( song , data ) : if type ( song ) is str : d = data [ data [ 'song' ] == song ] [ [ 'song' , 'artist' , 'topics' ] ] d . topics = d . topics + 1 display ( d ) elif type ( song ) is list : d = data [ data [ 'song' ] . isin ( song ) ] [ [ 'song' , 'artist' , 'topics' ] ] d . topics = d . topics + 1 display ( d )
short_docstring: Displays topics associated with a song.
short_docstring_tokens: Displays topics associated with a song .
comment: """
  
      Displays topics associated with a song.
  
      Adds 1 to the topic indexes to make them correspond to the pyLDAvis topic numbers.
  
      """