code: public function removeColumnByIndex($columnIndex, $numColumns = 1)
      {
          if ($columnIndex >= 1) {
              return $this->removeColumn(Coordinate::stringFromColumnIndex($columnIndex), $numColumns);
          }
  
          throw new Exception('Columns to be deleted should at least start from column A (1)');
      }
docs: Remove a column, updating all possible related data.
  
  @param int $columnIndex Remove starting with this one (numeric column coordinate of the cell)
  @param int $numColumns Number of columns to remove
  
  @throws Exception
  
  @return Worksheet