code: def shuffle(self):
          
          order = range(len(self))
          random.shuffle(order)
          for name, data in self.fields.items():
              reindexed = []
              for _, i in enumerate(order):
                  reindexed.append(data[i])
              self.fields[name] = reindexed
          return self
docs: Re-indexes the dataset in random order
  
          :return: the shuffled dataset instance