The module qmul contains a Data Frame enrolment_data that contains information regarding academic module enrolment figures at a reputable London university. This DataFrame contains a column labelled 'Module' which contains unique identifying-codes for each module (given in the form 'MTHXXXX", where XXXX is a numeral composed of four digits). The rows are indexed with integers from zero. Import this DataFrame and modify its content so that every row indexed with an even integer has its module code increased by 4. For example, the module code at row zero, 'MTH4000', should become 'MTH4004', etc.

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter5: Working With Excel Tables, Pivottables, And Pivotcharts
Section: Chapter Questions
Problem 11RA
Question

Can you help me answer this question using python please 

The module qmul contains a Data Frame enrolment_data that contains information regarding academic module enrolment figures at a
reputable London university.
This DataFrame contains a column labelled 'Module' which contains unique identifying-codes for each module (given in the form 'MTHXXXX",
where XXXX is a numeral composed of four digits). The rows are indexed with integers from zero. Import this DataFrame and modify its content
so that every row indexed with an even integer has its module code increased by 4.
For example, the module code at row zero, 'MTH4000', should become 'MTH4004', etc.
Transcribed Image Text:The module qmul contains a Data Frame enrolment_data that contains information regarding academic module enrolment figures at a reputable London university. This DataFrame contains a column labelled 'Module' which contains unique identifying-codes for each module (given in the form 'MTHXXXX", where XXXX is a numeral composed of four digits). The rows are indexed with integers from zero. Import this DataFrame and modify its content so that every row indexed with an even integer has its module code increased by 4. For example, the module code at row zero, 'MTH4000', should become 'MTH4004', etc.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning