cells shift when using openpyxl code example Example: openpyxl delete column by name >>> ws.delete_cols(6, 3)