Home > other >  Python openpyxl insert rows and columns
Python openpyxl insert rows and columns

Time:10-02

As follows, using openpyxl operation excel, insert row, column operation error AttributeError: 'Worksheet object has no attribute' insert_rows'

The from openpyxl import load_workbook

Wb=load_workbook (file)
Ws=wb/' Sheet1 '
Ws. Insert_rows (2)

CodePudding user response:

Yes maybe openpyxl version of the reason code itself

CodePudding user response:

Save the
  • Related