code: def rank_members_in(self, leaderboard_name, members_and_scores):
          '''
          Rank an array of members in the named leaderboard.
  
          @param leaderboard_name [String] Name of the leaderboard.
          @param members_and_scores [Array] Variable list of members and scores.
          '''
          pipeline = self.redis_connection.pipeline()
          for member, score in grouper(2, members_and_scores):
              if isinstance(self.redis_connection, Redis):
                  pipeline.zadd(leaderboard_name, member, score)
              else:
                  pipeline.zadd(leaderboard_name, score, member)
          pipeline.execute(f rank_members_in(self, leaderboard_name, members_and_scores):
          '''
          Rank an array of members in the named leaderboard.
  
          @param leaderboard_name [String] Name of the leaderboard.
          @param members_and_scores [Array] Variable list of members and scores.
          '''
          pipeline = self.redis_connection.pipeline()
          for member, score in grouper(2, members_and_scores):
              if isinstance(self.redis_connection, Redis):
                  pipeline.zadd(leaderboard_name, member, score)
              else:
                  pipeline.zadd(leaderboard_name, score, member)
          pipeline.execute()
docs: Rank an array of members in the named leaderboard.
  
          @param leaderboard_name [String] Name of the leaderboard.
          @param members_and_scores [Array] Variable list of members and scores.