code: def paginate_dataframe(self, dataframe):
          
          if self.paginator is None:
              return None
          return self.paginator.paginate_dataframe(dataframe, self.request, view=self)
docs: Return a single page of results, or `None` if pagination is disabled.