code: def paste_to_current_cell(self, tl_key, data, freq=None):
          
  
          self.pasting = True
  
          grid_rows, grid_cols, __ = self.grid.code_array.shape
  
          self.need_abort = False
  
          tl_row, tl_col, tl_tab = self._get_full_key(tl_key)
  
          row_overflow = False
          col_overflow = False
  
          no_pasted_cells = 0
  
          for src_row, row_data in enumerate(data):
              target_row = tl_row + src_row
  
              if self.grid.actions._is_aborted(src_row, _("Pasting cells... "),
                                               freq=freq):
                  self._abort_paste()
                  return False
  
              # Check if rows fit into grid
              if target_row >= grid_rows:
                  row_overflow = True
                  break
  
              for src_col, cell_data in enumerate(row_data):
                  target_col = tl_col + src_col
  
                  if target_col >= grid_cols:
                      col_overflow = True
                      break
  
                  if cell_data is not None:
                      # Is only None if pasting into selection
                      key = target_row, target_col, tl_tab
  
                      try:
                          CellActions.set_code(self, key, cell_data)
                          no_pasted_cells += 1
                      except KeyError:
                          pass
  
          if row_overflow or col_overflow:
              self._show_final_overflow_message(row_overflow, col_overflow)
  
          else:
              self._show_final_paste_message(tl_key, no_pasted_cells)
  
          self.pasting = False
docs: Pastes data into grid from top left cell tl_key
  
          Parameters
          ----------
  
          ul_key: Tuple
          \key of top left cell of paste area
          data: iterable of iterables where inner iterable returns string
          \tThe outer iterable represents rows
          freq: Integer, defaults to None
          \tStatus message frequency