class_docstr: The next version of our playlist generator that uses the statistics
  generated from 'Episode 02' to improve the title recommendations.
  
  The flow performs the following steps:
  
  1) Load the genre-specific statistics from the MovieStatsFlow.
  2) In parallel branches:
     - A) Build a playlist from the top grossing films in the requested genre.
     - B) Choose a random movie.
  3) Join the two to create a movie playlist and display it.
docstr: This step chooses a random title for a different movie genre.
docstr_tok: ["This","step","chooses","a","random","title","for","a","different","movie","genre","."]
code: def bonus_movie(self):
      """
      This step chooses a random title for a different movie genre.
  
      """
      import random
  
      # Concatenate all the genre-specific data frames.
      df = {"movie_title": [], "genres": []}
      for genre, data in self.genre_stats.items():
          if genre != self.genre.lower():
              for row_idx in range(
                  len(data["dataframe"]["movie_title"])
              ):
                  if (
                      self.genre.lower()
                      not in data["dataframe"]["genres"][
                          row_idx
                      ].lower()
                  ):
                      df["movie_title"].append(
                          data["dataframe"]["movie_title"][row_idx]
                      )
                      df["genres"].append(
                          data["dataframe"]["genres"][row_idx]
                      )
  
      # Choose a random movie.
      random_index = random.randint(0, len(df["genres"]) - 1)
      self.bonus = (
          df["movie_title"][random_index],
          df["genres"][random_index],
      )
  
      self.next(self.join)
  
file_path: metaflow/metaflow/tutorials/03-playlist-redux/playlist.py
imports: from metaflow import FlowSpec, step, Parameter
label_desc: Use image node_id 2 for calling the PlayListFlow obj's underlying member method code with example usage: obj.bonus_movie() without return types