I have 11 shapefiles that shows administrative areas for 11 different countries. For each country, I have 448 columns in the attribute table that records average rainfall data. They look like this:
I would like to change the header of each column displayed here. So "RFEb1_me_1"
will be renamed to "JAN1983"
, "RFEb2_me_2"
will be renamed to "FEB1983"
...and all the way to the 448th column, "APR2020"
. I am planning on making the same changes to all 11 attribute tables.
How can I make this happen using QGIS (PyQGIS)?
In answer to @Kadir's question, here's a screenshot of some of my last columns.